diff options
| author | 2021-05-10 16:30:01 +0200 | |
|---|---|---|
| committer | 2021-09-04 01:12:21 +0200 | |
| commit | 6c1dbb674c5cf76d23381160577d34bead60b76b (patch) | |
| tree | db4270c4e7ea19a060f811043e1d6bac3805eafd /tools/perf/scripts/python/libxed.py | |
| parent | mm, slub: move disabling irqs closer to get_partial() in ___slab_alloc() (diff) | |
| download | linux-dev-6c1dbb674c5cf76d23381160577d34bead60b76b.tar.xz linux-dev-6c1dbb674c5cf76d23381160577d34bead60b76b.zip | |
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 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
