Gregory Haskins
8ae121ac86
sched: fix RT task-wakeup logic
...
Dmitry Adamushko pointed out a logic error in task_wake_up_rt() where we
will always evaluate to "true". You can find the thread here:
http://lkml.org/lkml/2008/4/22/296
In reality, we only want to try to push tasks away when a wake up request is
not going to preempt the current task. So lets fix it.
Note: We introduce test_tsk_need_resched() instead of open-coding the flag
check so that the merge-conflict with -rt should help remind us that we
may need to support NEEDS_RESCHED_DELAYED in the future, too.
Signed-off-by: Gregory Haskins <ghaskins@novell.com >
CC: Dmitry Adamushko <dmitry.adamushko@gmail.com >
CC: Steven Rostedt <rostedt@goodmis.org >
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2008-05-05 23:56:18 +02:00
..
2008-04-30 08:29:54 -07:00
2008-04-29 13:46:50 -07:00
2008-05-01 18:59:11 +01:00
2008-04-30 08:29:33 -07:00
2008-04-29 08:06:27 -07:00
2008-05-02 10:25:58 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 08:06:00 -07:00
2008-05-01 13:08:50 -04:00
2008-04-30 08:29:50 -07:00
2008-04-29 08:06:04 -07:00
2008-04-29 09:50:34 +02:00
2008-04-29 08:11:16 -07:00
2008-04-29 12:36:54 -07:00
2008-04-28 08:58:25 -07:00
2008-04-29 08:06:01 -07:00
2008-04-29 13:22:56 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 08:06:09 -07:00
2008-04-29 08:06:10 -07:00
2008-05-01 08:03:59 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 08:05:59 -07:00
2008-05-01 08:03:59 -07:00
2008-04-30 08:42:49 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 08:06:06 -07:00
2008-04-30 08:29:52 -07:00
2008-04-29 08:05:59 -07:00
2008-04-28 16:27:08 -04:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:53 -07:00
2008-04-29 08:06:09 -07:00
2008-04-30 08:29:54 -07:00
2008-05-02 10:12:28 -07:00
2008-04-30 08:29:48 -07:00
2008-04-29 08:06:11 -07:00
2008-04-29 08:06:11 -07:00
2008-04-28 08:58:30 -07:00
2008-04-29 08:06:26 -07:00
2008-04-29 08:06:16 -07:00
2008-04-30 08:29:54 -07:00
2008-04-28 08:58:35 -07:00
2008-05-01 13:08:16 -04:00
2008-05-01 13:08:16 -04:00
2008-04-29 08:06:00 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:45 -07:00
2008-04-29 08:05:58 -07:00
2008-04-28 10:03:31 -07:00
2008-05-03 18:11:48 +02:00
2008-04-28 08:58:25 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 23:11:38 +02:00
2008-04-29 23:11:40 +02:00
2008-04-30 08:29:54 -07:00
2008-04-28 23:44:42 +02:00
2008-04-29 08:06:25 -07:00
2008-04-30 20:34:26 -04:00
2008-05-02 16:53:33 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-05-01 13:08:16 -04:00
2008-04-29 08:06:03 -07:00
2008-04-29 08:06:02 -07:00
2008-04-30 16:52:48 -07:00
2008-04-29 08:06:13 -07:00
2008-04-29 08:06:15 -07:00
2008-04-29 08:06:15 -07:00
2008-05-02 13:40:34 +02:00
2008-04-29 03:22:15 -04:00
2008-04-30 08:29:54 -07:00
2008-05-01 08:03:58 -07:00
2008-05-02 21:50:44 +10:00
2008-04-29 08:06:29 -07:00
2008-04-30 08:29:53 -07:00
2008-04-29 08:06:17 -07:00
2008-04-29 08:06:16 -07:00
2008-04-30 08:29:54 -07:00
2008-05-05 07:13:21 -05:00
2008-04-30 16:52:58 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-28 08:58:32 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 17:47:34 -04:00
2008-04-30 08:29:54 -07:00
2008-04-29 15:57:53 +10:00
2008-05-01 08:03:58 -07:00
2008-04-29 08:06:01 -07:00
2008-04-29 08:06:10 -07:00
2008-04-28 08:58:25 -07:00
2008-04-29 08:06:12 -07:00
2008-04-28 08:58:25 -07:00
2008-04-29 08:06:17 -07:00
2008-04-29 08:06:17 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 23:11:39 +02:00
2008-05-01 21:14:59 +10:00
2008-04-30 08:29:54 -07:00
2008-04-28 08:58:47 -07:00
2008-04-29 08:06:12 -07:00
2008-04-29 09:11:12 -07:00
2008-04-29 08:06:24 -07:00
2008-04-30 08:29:54 -07:00
2008-04-28 08:58:29 -07:00
2008-04-29 08:06:13 -07:00
2008-04-30 08:29:54 -07:00
2008-05-01 08:04:01 -07:00
2008-04-29 10:17:59 -07:00
2008-05-03 03:39:55 +04:00
2008-04-29 08:06:04 -07:00
2008-04-29 08:06:02 -07:00
2008-04-29 08:06:02 -07:00
2008-04-30 08:29:49 -07:00
2008-04-30 08:29:49 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 11:52:52 -07:00
2008-04-30 08:29:53 -07:00
2008-05-01 13:07:28 -04:00
2008-04-28 08:58:26 -07:00
2008-04-29 08:06:20 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:50 -07:00
2008-04-30 08:29:38 -07:00
2008-05-01 08:04:01 -07:00
2008-04-28 08:58:33 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:51 -07:00
2008-04-28 08:58:46 -07:00
2008-04-29 08:06:10 -07:00
2008-04-29 08:05:59 -07:00
2008-04-30 08:29:54 -07:00
2008-05-03 10:01:33 -07:00
2008-04-30 08:29:54 -07:00
2008-05-05 23:56:18 +02:00
2008-04-28 08:58:26 -07:00
2008-04-29 13:22:56 -07:00
2008-04-30 08:29:54 -07:00
2008-04-28 08:58:32 -07:00
2008-04-30 08:29:30 -07:00
2008-04-28 08:58:25 -07:00
2008-04-30 08:29:34 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 08:06:05 -07:00
2008-05-01 08:03:59 -07:00
2008-04-28 08:58:36 -07:00
2008-04-30 08:29:54 -07:00
2008-04-28 08:58:29 -07:00
2008-04-29 08:06:06 -07:00
2008-04-29 08:06:23 -07:00
2008-05-04 17:07:03 -07:00
2008-04-29 08:06:27 -07:00
2008-04-30 08:29:54 -07:00
2008-04-29 02:48:01 -04:00
2008-04-30 08:29:37 -07:00
2008-04-30 08:29:53 -07:00
2008-05-01 08:03:59 -07:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:47 -07:00
2008-05-02 21:50:51 +10:00
2008-05-02 21:50:50 +10:00
2008-05-02 21:50:47 +10:00
2008-05-02 21:50:50 +10:00
2008-04-28 08:58:23 -07:00
2008-05-01 17:38:35 -04:00
2008-04-30 08:29:49 -07:00
2008-04-29 08:06:06 -07:00