Re: [PATCH] mm: fix vmstat_update to keep scheduling itself on allcores

From: Christoph Lameter
Date: Wed Mar 14 2012 - 10:09:43 EST


On Wed, 14 Mar 2012, Gilad Ben-Yossef wrote:

> We set up per-cpu work structures for vmstat and schedule them on
> each cpu when they go online only to re-schedule them on the general
> work queue when they first run.

schedule_delayed_work queues on the current cpu unless the
WQ_UNBOUND flag is set. Which is not set for vmstat_work.

--
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/