From: Dmitry Adamushko Date: Tue, 1 Jul 2008 21:32:15 +0000 (+0200) Subject: sched: rework of "prioritize non-migratable tasks over migratable ones" X-Git-Tag: v2.6.27-rc1~847^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ebefa8ceefed44cc321be70afc54a585a68ac0b;p=pandora-kernel.git 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 Cc: Steven Rostedt Cc: Gregory Haskins Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed