diff options
author | Dmitry Adamushko <dmitry.adamushko@gmail.com> | 2008-07-01 23:32:15 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-18 12:55:14 +0200 |
commit | 7ebefa8ceefed44cc321be70afc54a585a68ac0b (patch) | |
tree | cab0118d96d704fcca2e52f192f4bb2a7f6a909e /init/main.c | |
parent | 13b40c1e40f3261e83ee514a08b77dbecb93021b (diff) |
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 'init/main.c')
0 files changed, 0 insertions, 0 deletions