Messages in this thread | | | Subject | RE: [PATCH] scheduler: domain: init next_balance in nohz_idle_balancer with jiffies | From | Peter Zijlstra <> | Date | Tue, 31 Jan 2012 21:02:17 +0100 |
| |
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.
| |