2014-06-03 15:43:48

by Frederic Weisbecker

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

On Fri, May 30, 2014 at 08:52:42AM -0500, Christoph Lameter wrote:
> 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?

I missed that works adaptively set or clear cpus from the mask. Nevermind,
just ignore what I said.