diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-12-04 09:59:02 +0100 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2010-02-03 20:48:07 -0800 |
commit | 18ed2ed46071a47e06820740650686da48e84dbb (patch) | |
tree | f05506b58e343f9ef36909a660c341911b93e422 /kernel/kgdb.c | |
parent | 22763c5cf3690a681551162c15d34d935308c8d7 (diff) |
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/kgdb.c')
0 files changed, 0 insertions, 0 deletions