From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 11 Aug 2006 11:51:59 -0700 (PDT) From: Christoph Lameter Subject: Re: [1/3] Add __GFP_THISNODE to avoid fallback to other nodes and ignore cpuset/memory policy restrictions. In-Reply-To: <20060811114243.49fa4390.akpm@osdl.org> Message-ID: References: <20060810124137.6da0fdef.akpm@osdl.org> <20060811110821.51096659.akpm@osdl.org> <20060811114243.49fa4390.akpm@osdl.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: linux-mm@kvack.org, pj@sgi.com, jes@sgi.com, Andy Whitcroft List-ID: On Fri, 11 Aug 2006, Andrew Morton wrote: > How about we do > > /* > * We do this to avoid lots of ifdefs and their consequential conditional > * compilation > */ > #ifdef CONFIG_NUMA > #define NUMA_BUILD 1 > #else > #define NUMA_BUILD 0 > #endif Put this in kernel.h? Sounds good but this sets a new precedent on how to avoid #ifdefs. -- 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