Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759585Ab2EIO0O (ORCPT ); Wed, 9 May 2012 10:26:14 -0400 Received: from mail-qc0-f174.google.com ([209.85.216.174]:45053 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759495Ab2EIO0L convert rfc822-to-8bit (ORCPT ); Wed, 9 May 2012 10:26:11 -0400 MIME-Version: 1.0 X-Originating-IP: [109.64.13.136] In-Reply-To: References: <1336056962-10465-1-git-send-email-gilad@benyossef.com> <1336056962-10465-6-git-send-email-gilad@benyossef.com> <4FA823A7.9000801@gmail.com> Date: Wed, 9 May 2012 17:26:08 +0300 Message-ID: Subject: Re: [PATCH v1 5/6] mm: make vmstat_update periodic run conditional From: Gilad Ben-Yossef To: Christoph Lameter 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1415 Lines: 45 On Tue, May 8, 2012 at 6:34 PM, Christoph Lameter 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. Thanks, Gilad -- Gilad Ben-Yossef Chief Coffee Drinker gilad@benyossef.com 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/