Commit 9ac33b2b authored by Christoph Lameter's avatar Christoph Lameter
Browse files

slab numa fallback logic: Do not pass unfiltered flags to page allocator



The NUMA fallback logic should be passing local_flags to kmem_get_pages() and not simply the
flags passed in.

Reviewed-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
parent b773ad73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3280,7 +3280,7 @@ retry:
		if (local_flags & __GFP_WAIT)
			local_irq_enable();
		kmem_flagcheck(cache, flags);
		obj = kmem_getpages(cache, flags, -1);
		obj = kmem_getpages(cache, local_flags, -1);
		if (local_flags & __GFP_WAIT)
			local_irq_disable();
		if (obj) {