From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx125.postini.com [74.125.245.125]) by kanga.kvack.org (Postfix) with SMTP id 1834B6B0062 for ; Thu, 12 Jul 2012 15:44:24 -0400 (EDT) Date: Thu, 12 Jul 2012 21:43:10 +0200 From: Andrea Arcangeli Subject: Re: [PATCH 36/40] autonuma: page_autonuma Message-ID: <20120712194310.GP20382@redhat.com> References: <1340888180-15355-1-git-send-email-aarcange@redhat.com> <1340888180-15355-37-git-send-email-aarcange@redhat.com> <20120630052404.GH3975@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120630052404.GH3975@localhost.localdomain> Sender: owner-linux-mm@kvack.org List-ID: To: Konrad Rzeszutek Wilk Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Hillf Danton , Dan Smith , Peter Zijlstra , Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Bharata B Rao , Lee Schermerhorn , Rik van Riel , Johannes Weiner , Srivatsa Vaddagiri , Christoph Lameter , Alex Shi , Mauricio Faria de Oliveira , Konrad Rzeszutek Wilk , Don Morris , Benjamin Herrenschmidt On Sat, Jun 30, 2012 at 01:24:05AM -0400, Konrad Rzeszutek Wilk wrote: > I think you are better using a different name. > > Perhaps 'if (autonuma_on())' I changed it to AUTONUMA_POSSIBLE_FLAG/autonuma_possible() and optimized the implementation to a single test_bit on the read mostly flag variable. "possible" is the term all NUMA code in the kernel already uses with almost the same meaning (modulo noautonuma parameter) as num_possible_nodes() etc... -- 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/ . Don't email: email@kvack.org