mm, slub: move disabling irqs closer to get_partial() in ___slab_alloc()
authorVlastimil Babka <vbabka@suse.cz>
Mon, 10 May 2021 11:56:17 +0000 (13:56 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Fri, 3 Sep 2021 23:12:21 +0000 (01:12 +0200)
commitfa417ab7506f9234100e249938d13e94a8c404e8
tree55012f99def7d94fcec8093dd89bd2481d5b7565
parent0b303fb402862dcb7948eeeed2439bd8c99948b5
mm, slub: move disabling irqs closer to get_partial() in ___slab_alloc()

Continue reducing the irq disabled scope. Check for per-cpu partial slabs with
first with irqs enabled and then recheck with irqs disabled before grabbing
the slab page. Mostly preparatory for the following patches.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slub.c