From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx105.postini.com [74.125.245.105]) by kanga.kvack.org (Postfix) with SMTP id 40D4C6B0044 for ; Fri, 16 Mar 2012 14:34:43 -0400 (EDT) Date: Fri, 16 Mar 2012 13:34:37 -0500 (CDT) From: Christoph Lameter Subject: Re: [RFC][PATCH 10/26] mm, mpol: Make mempolicy home-node aware In-Reply-To: <20120316144240.763518310@chello.nl> Message-ID: References: <20120316144028.036474157@chello.nl> <20120316144240.763518310@chello.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Peter Zijlstra 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 Fri, 16 Mar 2012, Peter Zijlstra wrote: > Add another layer of fallback policy to make the home node concept > useful from a memory allocation PoV. > > This changes the mpol order to: > > - vma->vm_ops->get_policy [if applicable] > - vma->vm_policy [if applicable] > - task->mempolicy > - tsk_home_node() preferred [NEW] > - default_policy > > Note that the tsk_home_node() policy has Migrate-on-Fault enabled to > facilitate efficient on-demand memory migration. The numa hierachy is already complex. Could we avoid adding another layer by adding a MPOL_HOME_NODE and make that the default? -- 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