commit | 6c1dbb674c5cf76d23381160577d34bead60b76b | [log] [tgz] |
---|---|---|
author | Vlastimil Babka <vbabka@suse.cz> | Mon May 10 16:30:01 2021 +0200 |
committer | Vlastimil Babka <vbabka@suse.cz> | Sat Sep 04 01:12:21 2021 +0200 |
tree | db4270c4e7ea19a060f811043e1d6bac3805eafd | |
parent | fa417ab7506f9234100e249938d13e94a8c404e8 [diff] |
mm, slub: restore irqs around calling new_slab() allocate_slab() currently re-enables irqs before calling to the page allocator. It depends on gfpflags_allow_blocking() to determine if it's safe to do so. Now we can instead simply restore irq before calling it through new_slab(). The other caller early_kmem_cache_node_alloc() is unaffected by this. Signed-off-by: Vlastimil Babka <vbabka@suse.cz>