diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |