]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm-slub-do-initial-checks-in-___slab_alloc-with-irqs-enabled-fix-fix
authorVlastimil Babka <vbabka@suse.cz>
Mon, 23 Aug 2021 23:58:57 +0000 (09:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:33:28 +0000 (09:33 +1000)
fix renaming snafu

Link: https://lkml.kernel.org/r/ec98bce0-fef4-0fbc-2067-e358510e0321@suse.cz
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Clark Williams <williams@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/slub.c

index 38458e347810322016ef1d3f1e4f696c0a84a6fd..fcc38638c645bac410e5fce19c1c93ef3359522a 100644 (file)
--- 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 */