]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1900506ef589f695c29313221cd7b130a9610f1d
tree5876bc3dfb53494044222f757abae0fda263198f
parentda4343412c3b935a633a392ad61b14d1d58fb583
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