Re: [PATCH] vmstat: on demand updates from differentials V7

From: Christoph Lameter
Date: Fri May 30 2014 - 09:52:53 EST


On Fri, 30 May 2014, Frederic Weisbecker wrote:

> > + cpu_stat_off = kmalloc(cpumask_size(), GFP_KERNEL);
> > + cpumask_copy(cpu_stat_off, cpu_online_mask);
>
> Actually looks like you can as well remove that cpumask and use
> cpu_online_mask directly.

That would mean I would offline cpus that do not need the
vmstat worker?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/