Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [Patch] Idle balancer: cache align nohz structure to improve idle load balancing scalability | Date | Wed, 19 Oct 2011 21:24:51 -0700 |
| |
Tim Chen <tim.c.chen@linux.intel.com> writes: > */ > static struct { > - atomic_t load_balancer; > - atomic_t first_pick_cpu; > - atomic_t second_pick_cpu; > - cpumask_var_t idle_cpus_mask; > + atomic_t load_balancer ____cacheline_aligned; > + atomic_t first_pick_cpu ____cacheline_aligned; > + atomic_t second_pick_cpu ____cacheline_aligned; > + cpumask_var_t idle_cpus_mask ____cacheline_aligned;
On large configs idle_cpu_masks may be allocated. May need more changes to tell the allocator to cache align/pad too?
-Andi
-- ak@linux.intel.com -- Speaking for myself only
| |