From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032234Ab2CSRKG (ORCPT ); Mon, 19 Mar 2012 13:10:06 -0400 Received: from merlin.infradead.org ([205.233.59.134]:51080 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030261Ab2CSRKE convert rfc822-to-8bit (ORCPT ); Mon, 19 Mar 2012 13:10:04 -0400 Message-ID: <1332176969.18960.351.camel@twins> Subject: Re: [RFC][PATCH 10/26] mm, mpol: Make mempolicy home-node aware From: Peter Zijlstra To: Christoph Lameter Cc: Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Dan Smith , Bharata B Rao , Lee Schermerhorn , Andrea Arcangeli , Rik van Riel , Johannes Weiner , linux-kernel@vger.kernel.org, linux-mm@kvack.org Date: Mon, 19 Mar 2012 18:09:29 +0100 In-Reply-To: References: <20120316144028.036474157@chello.nl> <20120316144240.763518310@chello.nl> <1331932375.18960.237.camel@twins> <1332165959.18960.340.camel@twins> <1332170628.18960.349.camel@twins> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2012-03-19 at 10:31 -0500, Christoph Lameter wrote: > MPOL_DEFAULT is a certain type of behavior right now that applications > rely on. If you change that then these applications will no longer work as > expected. > > MPOL_DEFAULT is currently set to be the default policy on bootup. You can > change that of course and allow setting MPOL_DEFAULT manually for > applications that rely on old behavor. Instead set the default behavior on > bootup for MPOL_HOME_NODE. > > So the default system behavior would be MPOL_HOME_NODE but it could be > overriding by numactl to allow old apps to run as they are used to run. Ah, OK. Although that's a mightily confusing usage of the word DEFAULT. How about instead we make MPOL_LOCAL a real policy and allow explicitly setting that? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx182.postini.com [74.125.245.182]) by kanga.kvack.org (Postfix) with SMTP id 645766B004D for ; Mon, 19 Mar 2012 13:09:54 -0400 (EDT) Message-ID: <1332176969.18960.351.camel@twins> Subject: Re: [RFC][PATCH 10/26] mm, mpol: Make mempolicy home-node aware From: Peter Zijlstra Date: Mon, 19 Mar 2012 18:09:29 +0100 In-Reply-To: References: <20120316144028.036474157@chello.nl> <20120316144240.763518310@chello.nl> <1331932375.18960.237.camel@twins> <1332165959.18960.340.camel@twins> <1332170628.18960.349.camel@twins> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Lameter Cc: Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Dan Smith , Bharata B Rao , Lee Schermerhorn , Andrea Arcangeli , Rik van Riel , Johannes Weiner , linux-kernel@vger.kernel.org, linux-mm@kvack.org On Mon, 2012-03-19 at 10:31 -0500, Christoph Lameter wrote: > MPOL_DEFAULT is a certain type of behavior right now that applications > rely on. If you change that then these applications will no longer work a= s > expected. >=20 > MPOL_DEFAULT is currently set to be the default policy on bootup. You can > change that of course and allow setting MPOL_DEFAULT manually for > applications that rely on old behavor. Instead set the default behavior o= n > bootup for MPOL_HOME_NODE. >=20 > So the default system behavior would be MPOL_HOME_NODE but it could be > overriding by numactl to allow old apps to run as they are used to run. Ah, OK. Although that's a mightily confusing usage of the word DEFAULT. How about instead we make MPOL_LOCAL a real policy and allow explicitly setting that? -- 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