From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx115.postini.com [74.125.245.115]) by kanga.kvack.org (Postfix) with SMTP id 3F2316B00F2 for ; Tue, 8 May 2012 11:34:32 -0400 (EDT) Date: Tue, 8 May 2012 10:34:25 -0500 (CDT) From: Christoph Lameter Subject: Re: [PATCH v1 5/6] mm: make vmstat_update periodic run conditional In-Reply-To: Message-ID: References: <1336056962-10465-1-git-send-email-gilad@benyossef.com> <1336056962-10465-6-git-send-email-gilad@benyossef.com> <4FA823A7.9000801@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Gilad Ben-Yossef Cc: KOSAKI Motohiro , linux-kernel@vger.kernel.org, Thomas Gleixner , Tejun Heo , John Stultz , Andrew Morton , KOSAKI Motohiro , Mel Gorman , Mike Frysinger , David Rientjes , Hugh Dickins , Minchan Kim , Konstantin Khlebnikov , Chris Metcalf , Hakan Akkan , Max Krasnyansky , Frederic Weisbecker , linux-mm@kvack.org 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. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org