[SPARC64]: Allocate TSB node-local.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -321,7 +321,8 @@ retry_tsb_alloc:
|
|||||||
if (new_size > (PAGE_SIZE * 2))
|
if (new_size > (PAGE_SIZE * 2))
|
||||||
gfp_flags = __GFP_NOWARN | __GFP_NORETRY;
|
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)) {
|
if (unlikely(!new_tsb)) {
|
||||||
/* Not being able to fork due to a high-order TSB
|
/* Not being able to fork due to a high-order TSB
|
||||||
* allocation failure is very bad behavior. Just back
|
* allocation failure is very bad behavior. Just back
|
||||||
|
Reference in New Issue
Block a user