aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 19d3202ca2dc..a90c4ffc9576 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1055,6 +1055,9 @@ static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node)
1055 if (s->flags & SLAB_CACHE_DMA) 1055 if (s->flags & SLAB_CACHE_DMA)
1056 flags |= SLUB_DMA; 1056 flags |= SLUB_DMA;
1057 1057
1058 if (s->flags & SLAB_RECLAIM_ACCOUNT)
1059 flags |= __GFP_RECLAIMABLE;
1060
1058 if (node == -1) 1061 if (node == -1)
1059 page = alloc_pages(flags, s->order); 1062 page = alloc_pages(flags, s->order);
1060 else 1063 else