From: David S. Miller Date: Wed, 19 Mar 2008 11:53:58 +0000 (-0700) Subject: [SPARC64]: Allocate TSB node-local. X-Git-Tag: v2.6.26-rc1~1089^2~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f261ef53ba06658dfeb5a9c3007d0ad1b85cadf;p=linux-2.6 [SPARC64]: Allocate TSB node-local. Signed-off-by: David S. Miller --- diff --git a/arch/sparc64/mm/tsb.c b/arch/sparc64/mm/tsb.c index a3e6e4b635..fe70c8a557 100644 --- a/arch/sparc64/mm/tsb.c +++ b/arch/sparc64/mm/tsb.c @@ -321,7 +321,8 @@ retry_tsb_alloc: if (new_size > (PAGE_SIZE * 2)) gfp_flags = __GFP_NOWARN | __GFP_NORETRY; - new_tsb = kmem_cache_alloc(tsb_caches[new_cache_index], gfp_flags); + new_tsb = kmem_cache_alloc_node(tsb_caches[new_cache_index], + gfp_flags, numa_node_id()); if (unlikely(!new_tsb)) { /* Not being able to fork due to a high-order TSB * allocation failure is very bad behavior. Just back