aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2022-08-23 19:03:58 +0200
committerVlastimil Babka <vbabka@suse.cz>2022-09-17 00:18:29 +0200
commit41bec7c33f37aaae6e3737615e2dfa17a30ea985 (patch)
tree1aa9c97766350abbf863da91f433d2bc6b0a39ee /scripts/gdb/linux/modules.py
parentc7323a5ad0786371f61dca49fc26f7ab3a68e0da (diff)
mm/slub: remove slab_lock() usage for debug operations
All alloc and free operations on debug caches are now serialized by n->list_lock, so we can remove slab_lock() usage in validate_slab() and list_slab_objects() as those also happen under n->list_lock. Note the usage in list_slab_objects() could happen even on non-debug caches, but only during cache shutdown time, so there should not be any parallel freeing activity anymore. Except for buggy slab users, but in that case the slab_lock() would not help against the common cmpxchg based fast paths (in non-debug caches) anyway. Also adjust documentation comments accordingly. Suggested-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Signed-off-by: Vlastimil Babka <vbabka@suse.cz> Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Acked-by: David Rientjes <rientjes@google.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions