Skip to content
Commit 6c1dbb67 authored by Vlastimil Babka's avatar Vlastimil Babka
Browse files

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: default avatarVlastimil Babka <vbabka@suse.cz>
parent fa417ab7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment