On Mon, 2012-10-29 at 16:27 -0400, Steven Rostedt wrote:
> --- a/kernel/sched/core.c
> +++ b/kernel/sched/core.c
> @@ -1196,6 +1196,29 @@ static void update_avg(u64 *avg, u64 sample)
> }
> #endif
>
> +#ifdef CONFIG_CPUSETS_NO_HZ
> +bool sched_can_stop_tick(void)
> +{
> + struct rq *rq;
>
On Mon, 2012-10-29 at 16:27 -0400, Steven Rostedt wrote:
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -1196,6 +1196,29 @@ static void update_avg(u64 *avg, u64 sample)
}
#endif
+#ifdef CONFIG_CPUSETS_NO_HZ
+bool sched_can_stop_tick(void)
+{
+ struct rq *rq;
+
+ rq
From: Frederic Weisbecker
When a CPU is included in a nohz cpuset, try to switch
it to nohz mode from the interrupt exit path if it is running
a single non-idle task.
Then restart the tick if necessary if we are enqueuing a
second task while the timer is stopped, so that the scheduler
tick is
From: Frederic Weisbecker fweis...@gmail.com
When a CPU is included in a nohz cpuset, try to switch
it to nohz mode from the interrupt exit path if it is running
a single non-idle task.
Then restart the tick if necessary if we are enqueuing a
second task while the timer is stopped, so that the
4 matches
Mail list logo