projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sched/fair: Test list head instead of list entry in throttle_cfs_rq()
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
sched
/
fair.c
diff --git
a/kernel/sched/fair.c
b/kernel/sched/fair.c
index 65c8f3ebdc3c5d58d148780c84c90fe54dc6e4dc..d113c3ba8bc44b4f50a12e9c055cb70b63a632fc 100644
(file)
--- a/
kernel/sched/fair.c
+++ b/
kernel/sched/fair.c
@@
-3683,7
+3683,7
@@
static void throttle_cfs_rq(struct cfs_rq *cfs_rq)
cfs_rq->throttled = 1;
cfs_rq->throttled_clock = rq_clock(rq);
raw_spin_lock(&cfs_b->lock);
- empty = list_empty(&cfs_
rq->throttled_list
);
+ empty = list_empty(&cfs_
b->throttled_cfs_rq
);
/*
* Add to the _head_ of the list, so that an already-started