diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2022-08-23 19:03:59 +0200 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2022-09-17 00:18:34 +0200 |
commit | 4ef3f5a32051def596b2d445462a1dccda7af600 (patch) | |
tree | d3457eb74071afed005caf6919b6afb6f4b2943c /crypto/sm4.c | |
parent | 41bec7c33f37aaae6e3737615e2dfa17a30ea985 (diff) | |
download | linux-4ef3f5a32051def596b2d445462a1dccda7af600.tar.gz linux-4ef3f5a32051def596b2d445462a1dccda7af600.tar.bz2 linux-4ef3f5a32051def596b2d445462a1dccda7af600.zip |
mm/slub: convert object_map_lock to non-raw spinlock
The only remaining user of object_map_lock is list_slab_objects().
Obtaining the lock there used to happen under slab_lock() which implied
disabling irqs on PREEMPT_RT, thus it's a raw_spinlock. With the
slab_lock() removed, we can convert it to a normal spinlock.
Also remove the get_map()/put_map() wrappers as list_slab_objects()
became their only remaining user.
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 'crypto/sm4.c')
0 files changed, 0 insertions, 0 deletions