Re: [PATCH] mm: fix vmstat_update to keep scheduling itself on all cores
From: Gilad Ben-Yossef
Date: Wed Mar 14 2012 - 10:51:18 EST
On Wed, Mar 14, 2012 at 4:09 PM, Christoph Lameter <cl@xxxxxxxxx> wrote:
> 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.
I've missed that. My bad. Sorry for the noise.
Gilad
--
Gilad Ben-Yossef
Chief Coffee Drinker
gilad@xxxxxxxxxxxxx
Israel Cell: +972-52-8260388
US Cell: +1-973-8260388
http://benyossef.com
"If you take a class in large-scale robotics, can you end up in a
situation where the homework eats your dog?"
-- Jean-Baptiste Queru
--
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/