diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-03-04 21:24:22 +0100 |
---|---|---|
committer | Christoph Lameter <clameter@sgi.com> | 2008-03-07 01:21:49 +0100 |
commit | 9ac33b2b749e9539e84bbb1a41f97b066c4bd757 (patch) | |
tree | 3d00a7ad98e27a813e6d855fbeaf5cef5e783b96 /mm | |
parent | slub statistics: Fix check for DEACTIVATE_REMOTE_FREES (diff) | |
download | linux-9ac33b2b749e9539e84bbb1a41f97b066c4bd757.tar.xz linux-9ac33b2b749e9539e84bbb1a41f97b066c4bd757.zip |
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: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c index 473e6c2eaefb..5d16c8a30499 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -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) { |