diff options
| author | Vlastimil Babka <vbabka@suse.cz> | 2024-08-07 13:31:16 +0300 |
|---|---|---|
| committer | Vlastimil Babka <vbabka@suse.cz> | 2024-08-27 15:12:51 +0300 |
| commit | f77d0cda4a8ebd070bfa1ef9a153c470ea3601ce (patch) | |
| tree | a8631a29e48c7e612fa30e54dd8b53dec32d5f09 /scripts/gdb/linux | |
| parent | 4ec10268ed98a3d568a39861e7b7d0a0fa7cbe60 (diff) | |
| download | linux-f77d0cda4a8ebd070bfa1ef9a153c470ea3601ce.tar.xz | |
mm, slab: move kfence_shutdown_cache() outside slab_mutex
kfence_shutdown_cache() is called under slab_mutex when the cache is
destroyed synchronously, and outside slab_mutex during the delayed
destruction of SLAB_TYPESAFE_BY_RCU caches.
It seems it should always be safe to call it outside of slab_mutex so we
can just move the call to kmem_cache_release(), which is called outside.
Reviewed-by: Jann Horn <jannh@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions
