From: Vlastimil Babka Date: Mon, 23 Aug 2021 23:58:57 +0000 (+1000) Subject: mm-slub-do-initial-checks-in-___slab_alloc-with-irqs-enabled-fix-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=dfdb1b514bf800cc64c72fe577b63f7799697b84;p=users%2Fjedix%2Flinux-maple.git mm-slub-do-initial-checks-in-___slab_alloc-with-irqs-enabled-fix-fix fix renaming snafu Link: https://lkml.kernel.org/r/ec98bce0-fef4-0fbc-2067-e358510e0321@suse.cz Signed-off-by: Vlastimil Babka Cc: Clark Williams Cc: Mike Galbraith Signed-off-by: Andrew Morton Signed-off-by: Stephen Rothwell --- diff --git a/mm/slub.c b/mm/slub.c index 38458e347810..fcc38638c645 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -2720,7 +2720,7 @@ redo: * PFMEMALLOC but right now, we are losing the pfmemalloc * information when the page leaves the per-cpu allocator */ - if (unlikely(!try_pfmemalloc_match(page, gfpflags))) + if (unlikely(!pfmemalloc_match_unsafe(page, gfpflags))) goto deactivate_slab; /* must check again c->page in case IRQ handler changed it */