diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2021-05-11 17:45:26 +0200 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2021-09-04 01:12:21 +0200 |
commit | 4b1f449dedd2ff1eede4ced08a503e13c8d668ce (patch) | |
tree | b62ea094b918c5c85a691a27d01ef9e328dce165 /mm/mempolicy.c | |
parent | mm, slub: check new pages with restored irqs (diff) | |
download | linux-4b1f449dedd2ff1eede4ced08a503e13c8d668ce.tar.xz linux-4b1f449dedd2ff1eede4ced08a503e13c8d668ce.zip |
mm, slub: stop disabling irqs around get_partial()
The function get_partial() does not need to have irqs disabled as a whole. It's
sufficient to convert spin_lock operations to their irq saving/restoring
versions.
As a result, it's now possible to reach the page allocator from the slab
allocator without disabling and re-enabling interrupts on the way.
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions