Skip to content
Commit 4b1f449d authored by Vlastimil Babka's avatar Vlastimil Babka
Browse files

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: default avatarVlastimil Babka <vbabka@suse.cz>
parent 9f101ee8
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