mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
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>
This commit is contained in:
parent
9f101ee894
commit
4b1f449ded
1 changed files with 8 additions and 14 deletions
22
mm/slub.c
22
mm/slub.c
Loading…
Add table
Add a link
Reference in a new issue