Peter Zijlstra
26931397cc
sched: Fix task priority bug
...
commit 57785df5ac 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 >
2010-01-22 15:18:40 -08:00
..
2009-09-21 14:29:21 +02:00
2009-11-07 21:44:45 +01:00
2009-11-03 11:03:09 +01:00
2010-01-06 15:03:21 -08:00
2009-11-04 01:42:10 -05:00
2009-12-18 14:03:52 -08:00
2010-01-18 10:19:50 -08:00
2009-09-24 03:50:25 -04:00
2009-09-24 03:50:26 -04:00
2009-09-24 03:50:26 -04:00
2009-09-24 07:20:58 -07:00
2010-01-18 10:19:32 -08:00
2010-01-06 15:04:49 -08:00
2010-01-06 15:04:49 -08:00
2009-09-23 11:02:26 -07:00
2009-09-18 09:48:52 -07:00
2009-10-29 07:39:25 -07:00
2009-11-03 07:52:39 -08:00
2009-07-18 14:19:53 +02:00
2009-08-10 15:41:12 +02:00
2010-01-22 15:18:11 -08:00
2009-10-05 12:04:16 -07:00
2009-09-24 07:21:04 -07:00
2009-08-29 14:10:07 +02:00
2009-09-23 07:39:30 -07:00
2009-07-29 19:10:34 -07:00
2009-09-19 13:13:17 -07:00
2009-09-23 18:12:10 -07:00
2009-10-01 16:11:11 -07:00
2009-11-03 07:25:00 +01:00
2009-07-24 10:53:29 +02:00
2009-09-23 07:39:29 -07:00
2009-10-09 15:56:44 +02:00
2009-12-01 08:20:31 -08:00
2010-01-18 10:19:51 -08:00
2009-10-11 11:20:58 -07:00
2009-09-24 07:20:58 -07:00
2009-10-08 12:16:35 -07:00
2009-10-29 08:56:20 +10:30
2009-12-18 14:06:01 -08:00
2009-09-24 07:21:04 -07:00
2009-09-22 07:17:38 -07:00
2009-08-29 14:10:07 +02:00
2009-08-21 21:43:46 +02:00
2009-09-23 07:39:28 -07:00
2009-09-20 20:15:40 +02:00
2009-09-24 07:20:59 -07:00
2009-10-07 08:11:20 +02:00
2009-09-23 19:46:30 +02:00
2009-12-18 14:03:04 -08:00
2009-10-07 08:11:20 +02:00
2009-12-18 14:03:01 -08:00
2009-12-18 14:03:04 -08:00
2009-09-27 11:39:25 -07:00
2009-10-01 16:11:13 -07:00
2009-09-23 07:39:41 -07:00
2009-08-06 05:50:21 +02:00
2010-01-22 15:18:30 -08:00
2009-08-02 14:26:09 +02:00
2009-12-18 14:03:13 -08:00
2010-01-06 15:03:20 -08:00
2009-09-17 10:17:25 +02:00
2009-09-21 09:53:55 +02:00
2009-09-21 09:53:55 +02:00
2010-01-22 15:18:40 -08:00
2010-01-18 10:19:33 -08:00
2009-12-01 08:20:31 -08:00
2009-12-01 08:20:31 -08:00
2009-12-01 08:20:31 -08:00
2009-09-24 09:34:47 +09:30
2009-09-17 15:53:44 -04:00
2009-09-24 07:21:04 -07:00
2009-08-31 18:08:50 +02:00
2009-09-24 15:13:11 -07:00
2009-10-29 08:20:00 -07:00
2009-10-29 07:39:30 -07:00
2010-01-18 10:19:49 -08:00
2009-07-12 14:03:27 -07:00
2009-09-15 10:17:30 +02:00
2009-09-23 09:46:15 -07:00
2009-09-21 15:14:55 +02:00
2009-09-23 18:13:10 -07:00
2009-11-02 16:02:39 +01:00
2009-09-24 07:21:04 -07:00
2009-08-10 14:43:09 +02:00
2009-11-17 17:40:33 -08:00