aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched/idle.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@parallels.com>2014-08-06 12:06:01 +0400
committerAlex Shi <alex.shi@linaro.org>2014-12-04 10:49:12 +0800
commit3ccdf3283e757fcc0aa394de53edce3de1a3e92b (patch)
tree20f9b45c63c039cd3d289b7ed3d5abf91a8d340f /kernel/sched/idle.c
parente5131a6801893a335f4174589f2496a50843cf54 (diff)
sched/fair: Fix reschedule which is generated on throttled cfs_rq
(sched_entity::on_rq == 1) does not guarantee the task is pickable; changes on throttled cfs_rq must not lead to reschedule. Check for task_struct::on_rq instead. Signed-off-by: Kirill Tkhai <ktkhai@parallels.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/1407312361.8424.35.camel@tkhai Signed-off-by: Ingo Molnar <mingo@kernel.org> (cherry picked from commit f36c019c79edb3a89920afae1b2b45987af1a112) Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'kernel/sched/idle.c')
0 files changed, 0 insertions, 0 deletions