projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1b1a5f
)
[SPARC64]: Allocate TSB node-local.
author
David S. Miller
<davem@davemloft.net>
Wed, 19 Mar 2008 11:53:58 +0000
(
04:53
-0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 24 Apr 2008 06:32:17 +0000
(23:32 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/tsb.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/mm/tsb.c
b/arch/sparc64/mm/tsb.c
index a3e6e4b635b3cc174aa91a33cb0a352b5261578a..fe70c8a557b58ae1c96cb4312878797b8d881d49 100644
(file)
--- 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