mm, slub: check new pages with restored irqs
authorVlastimil Babka <vbabka@suse.cz>
Tue, 11 May 2021 14:56:09 +0000 (16:56 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Fri, 3 Sep 2021 23:12:21 +0000 (01:12 +0200)
commit9f101ee89465e0b2c11b477f5b55e03039b2c308
tree5876bc3dfb53494044222f757abae0fda263198f
parent3f2b77e35a4fc3c83132a1a1a2fc7a2c803a2514
mm, slub: check new pages with restored irqs

Building on top of the previous patch, re-enable irqs before checking new
pages. alloc_debug_processing() is now called with enabled irqs so we need to
remove VM_BUG_ON(!irqs_disabled()); in check_slab() - there doesn't seem to be
a need for it anyway.

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