aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorChengming Zhou <zhouchengming@bytedance.com>2023-11-02 03:23:28 +0000
committerVlastimil Babka <vbabka@suse.cz>2023-12-05 10:35:49 +0100
commit00eb60c28815e22690834b2e3951ded0cd300b8d (patch)
treee02bcf650008934d2ff59456a85b571ec2a9ab57 /scripts/gdb/linux/proc.py
parent8cd3fa428b56352beaa38df756c1d3f1556f5514 (diff)
slub: Optimize deactivate_slab()
Since the introduce of unfrozen slabs on cpu partial list, we don't need to synchronize the slab frozen state under the node list_lock. The caller of deactivate_slab() and the caller of __slab_free() won't manipulate the slab list concurrently. So we can get node list_lock in the last stage if we really need to manipulate the slab list in this path. Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com> Reviewed-by: Vlastimil Babka <vbabka@suse.cz> Tested-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions