diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-12-04 09:59:02 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-09 10:03:10 +0100 |
commit | 57785df5ac53c70da9fb53696130f3c551bfe1f9 (patch) | |
tree | 5653c894d74a1555f480835b013fdb7b512f8b69 /kernel/sched_fair.c | |
parent | cd8ad40de36c2fe75f3b731bd70198b385895246 (diff) | |
download | linux-57785df5ac53c70da9fb53696130f3c551bfe1f9.tar.gz linux-57785df5ac53c70da9fb53696130f3c551bfe1f9.tar.bz2 linux-57785df5ac53c70da9fb53696130f3c551bfe1f9.zip |
sched: Fix task priority bug
83f9ac removed a call to effective_prio() in wake_up_new_task(), which
leads to tasks running at MAX_PRIO.
This is caused by the idle thread being set to MAX_PRIO before forking
off init. O(1) used that to make sure idle was always preempted, CFS
uses check_preempt_curr_idle() for that so we can savely remove this bit
of legacy code.
Reported-by: Mike Galbraith <efault@gmx.de>
Tested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1259754383.4003.610.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
0 files changed, 0 insertions, 0 deletions