diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2023-08-07 20:50:44 +0200 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2023-12-07 12:41:48 +0100 |
commit | 6f3dd2c31d7d703a814c59f60daf95c57fa6a4c2 (patch) | |
tree | 38f953c4cdee4ab3059709ec3ca72754d8838d54 /scripts/gdb/linux/proc.py | |
parent | ecf9a253ce120082ce0a8aff806c4de4865cfcc5 (diff) |
mm/slub: fix bulk alloc and free stats
The SLUB sysfs stats enabled CONFIG_SLUB_STATS have two deficiencies
identified wrt bulk alloc/free operations:
- Bulk allocations from cpu freelist are not counted. Add the
ALLOC_FASTPATH counter there.
- Bulk fastpath freeing will count a list of multiple objects with a
single FREE_FASTPATH inc. Add a stat_add() variant to count them all.
Reviewed-by: Chengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions