summaryrefslogtreecommitdiff
path: root/mm/percpu-km.c
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2021-05-10 16:30:01 +0200
committerVlastimil Babka <vbabka@suse.cz>2021-09-04 01:12:21 +0200
commit6c1dbb674c5cf76d23381160577d34bead60b76b (patch)
treedb4270c4e7ea19a060f811043e1d6bac3805eafd /mm/percpu-km.c
parentfa417ab7506f9234100e249938d13e94a8c404e8 (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>
Diffstat (limited to 'mm/percpu-km.c')
0 files changed, 0 insertions, 0 deletions