diff options
| author | Vlastimil Babka <[email protected]> | 2022-08-23 17:04:00 +0000 |
|---|---|---|
| committer | Vlastimil Babka <[email protected]> | 2022-09-16 22:18:35 +0000 |
| commit | 5875e59828a026e47f37c5e343f4fe8e0ba023b9 (patch) | |
| tree | 915c179f37bb1fe6cd3c22c7e7954e8f614461c4 /lib/debugobjects.c | |
| parent | mm/slub: convert object_map_lock to non-raw spinlock (diff) | |
| download | kernel-5875e59828a026e47f37c5e343f4fe8e0ba023b9.tar.gz kernel-5875e59828a026e47f37c5e343f4fe8e0ba023b9.zip | |
mm/slub: simplify __cmpxchg_double_slab() and slab_[un]lock()
The PREEMPT_RT specific disabling of irqs in __cmpxchg_double_slab()
(through slab_[un]lock()) is unnecessary as bit_spin_lock() disables
preemption and that's sufficient on PREEMPT_RT where no allocation/free
operation is performed in hardirq context and so can't interrupt the
current operation.
That means we no longer need the slab_[un]lock() wrappers, so delete
them and rename the current __slab_[un]lock() to slab_[un]lock().
Signed-off-by: Vlastimil Babka <[email protected]>
Acked-by: David Rientjes <[email protected]>
Reviewed-by: Hyeonggon Yoo <[email protected]>
Reviewed-by: Sebastian Andrzej Siewior <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
