aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorOliver Glitta <[email protected]>2021-07-07 18:07:47 -0700
committerLinus Torvalds <[email protected]>2021-07-08 11:48:20 -0700
commit788691464c29455346dc613a3b43c2fb9e5757a4 (patch)
tree9cc94b1811c694b18e10bfeceb6cc9a9ee0b6f21 /tools/perf/scripts/python/compaction-times.py
parent113616ec5b64b23a1c9b663adafadabdfbec0f51 (diff)
mm/slub: use stackdepot to save stack trace in objects
Many stack traces are similar so there are many similar arrays. Stackdepot saves each unique stack only once. Replace field addrs in struct track with depot_stack_handle_t handle. Use stackdepot to save stack trace. The benefits are smaller memory overhead and possibility to aggregate per-cache statistics in the future using the stackdepot handle instead of matching stacks manually. [[email protected]: rename save_stack_trace()] Link: https://lkml.kernel.org/r/[email protected] [[email protected]: fix lockdep splat] Link: https://lkml.kernel.org/r/[email protected]: https://lkml.kernel.org/r/[email protected] Signed-off-by: Oliver Glitta <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]> Reviewed-by: Vlastimil Babka <[email protected]> Acked-by: David Rientjes <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: Joonsoo Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions