summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-10-07 18:50:04 +0200
committerThomas Gleixner <tglx@linutronix.de>2024-10-15 17:30:31 +0200
commite18328ff705270d1e53889ea9d79dce86d1b8786 (patch)
tree98181a84610006eaa999d444fed9f2295dcd95b8 /scripts
parentd8c6cd3a5c8008f5d42c7763a93b43d7f3a40e94 (diff)
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 'scripts')
0 files changed, 0 insertions, 0 deletions