Re: [PATCH v1 5/6] mm: make vmstat_update periodic run conditional
From: Gilad Ben-Yossef
Date: Wed May 09 2012 - 10:26:10 EST
On Tue, May 8, 2012 at 6:34 PM, Christoph Lameter <cl@xxxxxxxxx> wrote:
> On Tue, 8 May 2012, Gilad Ben-Yossef wrote:
>> > But this would still mean that the vmstat update thread would run on an
>> > arbitrary cpu. If I have a sacrificial lamb processor for OS processing
>> > then I would expect the vmstat update thread to stick to that processor
>> > and avoid to run on the other processor that I would like to be as free
>> > from OS noise as possible.
>> OK, what about -
>> - We pick a scapegoat cpu (the first to come up gets the job).
>> - We add a knob to let user designate another cpu for the job.
>> - If scapegoat cpus goes offline, the cpu processing the off lining is
>> the new scapegoat.
>> Does this makes better sense?
> Sounds good. The first that comes up. If the cpu is isolated then the
> first non isolated cpu is picked.
OK, will do.
Chief Coffee Drinker
Israel Cell: +972-52-8260388
US Cell: +1-973-8260388
"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/