diff options
| author | 2022-08-23 19:04:00 +0200 | |
|---|---|---|
| committer | 2022-09-17 00:18:35 +0200 | |
| commit | 5875e59828a026e47f37c5e343f4fe8e0ba023b9 (patch) | |
| tree | 915c179f37bb1fe6cd3c22c7e7954e8f614461c4 /tools/scripts/ssh:/git@git.zx2c4.com | |
| parent | mm/slub: convert object_map_lock to non-raw spinlock (diff) | |
| download | linux-dev-5875e59828a026e47f37c5e343f4fe8e0ba023b9.tar.xz linux-dev-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 <vbabka@suse.cz>
Acked-by: David Rientjes <rientjes@google.com>
Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
