RE: [PATCH] scheduler: domain: init next_balance in nohz_idle_balancer with jiffies

Peter Zijlstra
2012-01-31T20:02:37Z

On Tue, 2012-01-31 at 11:23 -0800, Diwakar Tundlam wrote:
> Here's the patch for kernel 3.3-rc1:
>
> ** kernel/sched/fair.c 2012-01-31 11:19:52.032421593 -0800
> ***************
> *** 5585,5597 ****
>
> __init void init_sched_fair_class(void)
> {
> #ifdef CONFIG_SMP
> open_softirq(SCHED_SOFTIRQ, run_rebalance_domains);
>
> #ifdef CONFIG_NO_HZ
> zalloc_cpumask_var(&nohz.idle_cpus_mask, GFP_NOWAIT);
> + nohz.next_balance = jiffies;
> #endif
> #endif /* SMP */
>
> }

This is not something I can apply, please see
Documentation/SubmittingPatches.