diff options
author | Waiman Long <[email protected]> | 2019-05-20 10:14:47 -0400 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2019-06-14 14:51:14 +0200 |
commit | 634d61f45d6f668fe7e468b62d00ae469a583ca2 (patch) | |
tree | c0a85cfb076ba93b00da054c11cd9cd3ae9b4969 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d86998b17a01050c0232231fa481e65ef8171ca6 (diff) |
debugobjects: Percpu pool lookahead freeing/allocation
Most workloads will allocate a bunch of memory objects, work on them
and then freeing all or most of them. So just having a percpu free pool
may not reduce the pool_lock contention significantly if large number
of objects are being used.
To help those situations, we are now doing lookahead allocation and
freeing of the debug objects into and out of the percpu free pool. This
will hopefully reduce the number of times the pool_lock needs to be
taken and hence its contention level.
Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Yang Shi <[email protected]>
Cc: "Joel Fernandes (Google)" <[email protected]>
Cc: Qian Cai <[email protected]>
Cc: Zhong Jiang <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions