From: Peter Zijlstra Date: Fri, 4 Dec 2009 08:59:02 +0000 (+0100) Subject: sched: Fix task priority bug X-Git-Tag: v2.6.33-rc1~298^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57785df5ac53c70da9fb53696130f3c551bfe1f9;p=pandora-kernel.git 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 Tested-by: Mike Galbraith Signed-off-by: Peter Zijlstra LKML-Reference: <1259754383.4003.610.camel@laptop> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed