diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2024-10-07 19:50:04 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-10-15 18:30:31 +0300 |
commit | e18328ff705270d1e53889ea9d79dce86d1b8786 (patch) | |
tree | 98181a84610006eaa999d444fed9f2295dcd95b8 /tools/perf/scripts/python/syscall-counts.py | |
parent | d8c6cd3a5c8008f5d42c7763a93b43d7f3a40e94 (diff) | |
download | linux-e18328ff705270d1e53889ea9d79dce86d1b8786.tar.xz |
debugobjects: Move pools into a datastructure
The contention on the global pool lock can be reduced by strict batch
processing where batches of objects are moved from one list head to another
instead of moving them object by object. This also reduces the cache
footprint because it avoids the list walk and dirties at maximum three
cache lines instead of potentially up to eighteen.
To prepare for that, move the hlist head and related counters into a
struct.
No functional change.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/all/20241007164913.646171170@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions