From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 9 May 2007 09:57:38 -0700 (PDT) From: Christoph Lameter Subject: Re: [PATCH] Fix hugetlb pool allocation with empty nodes - V2 -> V3 In-Reply-To: <1178728661.5047.64.camel@localhost> Message-ID: References: <20070503022107.GA13592@kryten> <1178310543.5236.43.camel@localhost> <1178728661.5047.64.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Lee Schermerhorn Cc: Anton Blanchard , linux-mm@kvack.org, ak@suse.de, nish.aravamudan@gmail.com, mel@csn.ul.ie, apw@shadowen.org, Andrew Morton , Eric Whitney List-ID: On Wed, 9 May 2007, Lee Schermerhorn wrote: > + HUGETLB_PAGE_ORDER); > + > + nid = next_node(nid, node_online_map); > + if (nid == MAX_NUMNODES) > + nid = first_node(node_online_map); Maybe use nr_node_ids here? May save some scanning over online maps? > * int node_possible(node) Is some node possible? > + * int node_populated(node) Is some node populated [at 'HIGHUSER] > * Good. -- 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