diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-12-04 09:59:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-01-22 15:18:40 -0800 |
commit | 26931397cc71bcac187efdcd2fc43ce0d41e4eb0 (patch) | |
tree | 69a4791241701822c67a601454f3e54b5e02009e /mm/pagewalk.c | |
parent | fdc360e9cd88b119fa978cc812d1f0be69087f9a (diff) |
sched: Fix task priority bug
commit 57785df5ac53c70da9fb53696130f3c551bfe1f9 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/pagewalk.c')
0 files changed, 0 insertions, 0 deletions