summaryrefslogtreecommitdiffstats
path: root/kernel/mm/slub.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/mm/slub.c')
-rw-r--r--kernel/mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/mm/slub.c b/kernel/mm/slub.c
index f657453ad..905e283d7 100644
--- a/kernel/mm/slub.c
+++ b/kernel/mm/slub.c
@@ -1409,7 +1409,7 @@ static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node)
order = compound_order(page);
page->slab_cache = s;
__SetPageSlab(page);
- if (page->pfmemalloc)
+ if (page_is_pfmemalloc(page))
SetPageSlabPfmemalloc(page);
start = page_address(page);