From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id C3D62900086 for ; Fri, 15 Apr 2011 16:12:57 -0400 (EDT) Message-Id: <20110415201255.572292293@linux.com> Date: Fri, 15 Apr 2011 15:12:47 -0500 From: Christoph Lameter Subject: [slubllv333num@/21] slub: Use NUMA_NO_NODE in get_partial References: <20110415201246.096634892@linux.com> Content-Disposition: inline; filename=use_numa_nonode Sender: owner-linux-mm@kvack.org List-ID: To: Pekka Enberg Cc: David Rientjes , Hugh Dickins , Eric Dumazet , "H. Peter Anvin" , Mathieu Desnoyers , linux-mm@kvack.org A -1 was leftover during the conversion. Signed-off-by: Christoph Lameter --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/mm/slub.c =================================================================== --- linux-2.6.orig/mm/slub.c 2011-04-15 14:27:58.000000000 -0500 +++ linux-2.6/mm/slub.c 2011-04-15 14:28:18.000000000 -0500 @@ -1487,7 +1487,7 @@ static struct page *get_partial(struct k int searchnode = (node == NUMA_NO_NODE) ? numa_node_id() : node; page = get_partial_node(get_node(s, searchnode)); - if (page || node != -1) + if (page || node != NUMA_NO_NODE) return page; return get_any_partial(s, flags); -- 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