Peter Zijlstra
a4c2f00f5c
sched: fair scheduler should not resched rt tasks
...
With use of ftrace Steven noticed that some RT tasks got rescheduled due
to sched_fair interaction.
What happens is that we reprogram the hrtick from enqueue/dequeue_fair_task()
because that can change nr_running, and thus a current tasks ideal runtime.
However, its possible the current task isn't a fair_sched_class task, and thus
doesn't have a hrtick set to change.
Fix this by wrapping those hrtick_start_fair() calls in a hrtick_update()
function, which will check for the right conditions.
Reported-by: Steven Rostedt <srostedt@redhat.com >
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl >
Acked-by: Steven Rostedt <srostedt@redhat.com >
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2008-10-20 14:05:03 +02:00
..
2008-08-14 14:58:01 +02:00
2008-10-16 11:21:29 -07:00
2008-10-16 15:17:40 -07:00
2008-09-29 17:09:14 +02:00
2008-10-13 09:51:42 -07:00
2008-08-01 12:15:16 -04:00
2008-08-01 12:15:03 -04:00
2008-10-13 09:51:42 -07:00
2008-06-27 18:09:16 +02:00
2008-08-14 22:59:43 +10:00
2008-10-16 11:21:28 -07:00
2008-10-16 11:21:33 -07:00
2008-10-08 11:31:02 +02:00
2008-10-03 13:39:50 +02:00
2008-07-25 10:53:47 -07:00
2008-08-22 08:34:53 +02:00
2008-10-16 11:21:30 -07:00
2008-07-26 20:53:20 -04:00
2008-10-16 11:21:28 -07:00
2008-10-13 09:51:40 -07:00
2008-06-23 13:31:15 +02:00
2008-09-29 17:09:14 +02:00
2008-10-16 11:21:32 -07:00
2008-07-28 14:37:38 +02:00
2008-09-23 08:09:14 -07:00
2008-10-06 13:50:59 -05:00
2008-10-16 12:38:34 -07:00
2008-10-16 11:21:52 -07:00
2008-10-16 11:21:31 -07:00
2008-07-26 12:00:09 -07:00
2008-08-13 12:55:10 +02:00
2008-08-26 10:37:46 +02:00
2008-08-27 08:40:36 +02:00
2008-07-29 00:07:55 +02:00
2008-07-30 09:41:45 -07:00
2008-10-16 12:40:26 -07:00
2008-07-28 18:12:36 +02:00
2008-07-25 10:53:37 -07:00
2008-08-23 12:14:12 -07:00
2008-10-16 11:21:32 -07:00
2008-09-02 19:21:38 -07:00
2008-07-25 10:53:45 -07:00
2008-09-02 19:21:40 -07:00
2008-10-02 15:53:13 -07:00
2008-10-16 15:17:40 -07:00
2008-10-16 11:21:31 -07:00
2008-08-14 22:59:43 +10:00
2008-10-03 10:41:00 +02:00
2008-08-21 09:31:44 +02:00
2008-08-15 17:54:40 +02:00
2008-08-18 09:45:22 +02:00
2008-06-26 09:24:33 +02:00
2008-08-05 14:33:46 -07:00
2008-07-25 10:53:36 -07:00
2008-10-16 15:17:40 -07:00
2008-07-21 21:55:02 -07:00
2008-10-10 11:17:04 +02:00
2008-10-10 04:18:57 +04:00
2008-10-20 14:05:03 +02:00
2008-09-22 16:29:00 +02:00
2008-09-22 16:28:32 +02:00
2008-10-04 14:31:54 +02:00
2008-10-17 13:05:22 +02:00
2008-10-20 14:05:02 +02:00
2008-08-05 14:33:47 -07:00
2008-08-19 20:37:07 -07:00
2008-08-25 17:45:48 -07:00
2008-10-16 15:32:46 -07:00
2008-10-16 11:21:31 -07:00
2008-08-13 13:56:51 +02:00
2008-06-30 09:20:55 +02:00
2008-08-12 17:52:55 +10:00
2008-10-16 11:21:51 -07:00
2008-10-16 11:21:31 -07:00
2008-07-25 10:53:45 -07:00
2008-10-20 14:05:02 +02:00
2008-07-25 10:53:47 -07:00
2008-08-11 13:46:53 +02:00
2008-07-27 16:12:28 -07:00
2008-08-23 12:14:12 -07:00
2008-08-19 13:10:09 +02:00
2008-10-16 11:21:47 -07:00
2008-08-23 12:14:12 -07:00
2008-10-16 11:21:31 -07:00
2008-10-16 11:21:32 -07:00