Re: [PATCH] sched,rt,nohz: stop scheduler tick if running realtime task

2015-03-03 Thread Frederic Weisbecker
On Mon, Feb 16, 2015 at 03:23:49PM -0500, Rik van Riel wrote: > If the CPU is running a realtime task that does not round-robin with > another realtime task of equal priority, there is no point in keeping > the scheduler tick going. After all, whenever the scheduler tick runs, > the kernel will

Re: [PATCH] sched,rt,nohz: stop scheduler tick if running realtime task

2015-03-03 Thread Frederic Weisbecker
On Mon, Feb 16, 2015 at 03:23:49PM -0500, Rik van Riel wrote: If the CPU is running a realtime task that does not round-robin with another realtime task of equal priority, there is no point in keeping the scheduler tick going. After all, whenever the scheduler tick runs, the kernel will just

[PATCH] sched,rt,nohz: stop scheduler tick if running realtime task

2015-02-16 Thread Rik van Riel
If the CPU is running a realtime task that does not round-robin with another realtime task of equal priority, there is no point in keeping the scheduler tick going. After all, whenever the scheduler tick runs, the kernel will just decide not to reschedule. Extend sched_can_stop_tick to recognize

[PATCH] sched,rt,nohz: stop scheduler tick if running realtime task

2015-02-16 Thread Rik van Riel
If the CPU is running a realtime task that does not round-robin with another realtime task of equal priority, there is no point in keeping the scheduler tick going. After all, whenever the scheduler tick runs, the kernel will just decide not to reschedule. Extend sched_can_stop_tick to recognize