summaryrefslogtreecommitdiff
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorDmitry Adamushko <dmitry.adamushko@gmail.com>2008-07-01 23:32:15 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-18 12:55:14 +0200
commit7ebefa8ceefed44cc321be70afc54a585a68ac0b (patch)
treecab0118d96d704fcca2e52f192f4bb2a7f6a909e /kernel/sched_fair.c
parent13b40c1e40f3261e83ee514a08b77dbecb93021b (diff)
downloadlwn-7ebefa8ceefed44cc321be70afc54a585a68ac0b.tar.gz
lwn-7ebefa8ceefed44cc321be70afc54a585a68ac0b.zip
sched: rework of "prioritize non-migratable tasks over migratable ones"
(1) handle in a generic way all cases when a newly woken-up task is not migratable (not just a corner case when "rt_se->nr_cpus_allowed == 1") (2) if current is to be preempted, then make sure "p" will be picked up by pick_next_task_rt(). i.e. move task's group at the head of its list as well. currently, it's not a case for the group-scheduling case as described here: http://www.ussg.iu.edu/hypermail/linux/kernel/0807.0/0134.html Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Gregory Haskins <ghaskins@novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
0 files changed, 0 insertions, 0 deletions