Re: [PATCH v8] mm: make lru_add_drain_all() selective

From: Andrew Morton
Date: Wed Aug 14 2013 - 17:03:46 EST


On Wed, 14 Aug 2013 16:50:29 -0400 Tejun Heo <tj@xxxxxxxxxx> wrote:

> > > + for_each_cpu(cpu, &has_work)
> >
> > for_each_online_cpu()?
>
> That would lead to flushing work items which aren't used and may not
> have been initialized yet, no?

doh, I confused for_each_cpu with for_each_possible_cpu. Dumb name.
--
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/