diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2024-10-07 19:50:10 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-10-15 18:30:32 +0300 |
commit | a3b9e191f5fc11fa93176a4074a919d33d64c5fe (patch) | |
tree | ece5c2c1928115d49d70870320b584059e26aa9c /tools/perf/scripts/python/syscall-counts.py | |
parent | fb60c004f33e0fa2e87b9456b87f1b2709436b88 (diff) | |
download | linux-a3b9e191f5fc11fa93176a4074a919d33d64c5fe.tar.xz |
debugobjects: Rework object freeing
__free_object() is uncomprehensibly complex. The same can be achieved by:
1) Adding the object to the per CPU pool
2) If that pool is full, move a batch of objects into the global pool
or if the global pool is full into the to free pool
This also prepares for batch processing.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/all/20241007164913.955542307@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions