summaryrefslogtreecommitdiff
path: root/mm/swap.c
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2021-05-12 13:59:58 +0200
committerVlastimil Babka <vbabka@suse.cz>2021-09-04 01:12:21 +0200
commit3406e91bce47383f03fe839f02f7f4bef78c832c (patch)
tree335e297061f43a5a920b7197fddfa74805002688 /mm/swap.c
parenta019d20162586ae5b14bf26c94f1943b1d24a832 (diff)
mm, slub: make locking in deactivate_slab() irq-safe
dectivate_slab() now no longer touches the kmem_cache_cpu structure, so it will be possible to call it with irqs enabled. Just convert the spin_lock calls to their irq saving/restoring variants to make it irq-safe. Note we now have to use cmpxchg_double_slab() for irq-safe slab_lock(), because in some situations we don't take the list_lock, which would disable irqs. Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions