From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 17 Sep 2006 05:41:25 -0700 (PDT) From: Christoph Lameter Subject: Re: [PATCH] GFP_THISNODE for the slab allocator In-Reply-To: <20060917041707.28171868.pj@sgi.com> Message-ID: References: <20060914220011.2be9100a.akpm@osdl.org> <20060914234926.9b58fd77.pj@sgi.com> <20060915002325.bffe27d1.akpm@osdl.org> <20060915004402.88d462ff.pj@sgi.com> <20060915010622.0e3539d2.akpm@osdl.org> <20060917041707.28171868.pj@sgi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Paul Jackson Cc: David Rientjes , akpm@osdl.org, linux-mm@kvack.org List-ID: On Sun, 17 Sep 2006, Paul Jackson wrote: > Aha - notice the following code in kernel/cpuset.c: > > int __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) > { > int node; /* node that zone z is on */ > ... > node = z->zone_pgdat->node_id; > > Looks like an open coded zone_to_nid() invocation that wasn't > addressed by Christoph's patch. > > Tsk tsk ... shame on whomever open coded that one ;). Are you sure that you are looking at a current tree? This is zone_to_nid here. -- 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