aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorDawei Li <[email protected]>2022-09-12 22:39:03 +0800
committerAndrew Morton <[email protected]>2022-10-03 14:03:09 -0700
commita18709442869e55c42969142d5abf6beb776dbba (patch)
tree086535609d830a29750ec9190ba7229c1ed9ed6a /tools/perf/scripts/python/bin/stackcollapse-report
parente7fcac4cd2674fe6849c6ac8a51a7fc878a5e436 (diff)
mm/damon: improve damon_new_region strategy
Kdamond is implemented as a periodical split-merge pattern, which will create and destroy regions possibly at high frequency (hundreds or even thousands of per sec), depending on the number of regions and aggregation period. In that case, kmalloc and kfree could bring speed and space overheads, which can be improved by using a private kmem cache. [[email protected]: creating kmem cache for damon regions by KMEM_CACHE()] Link: https://lkml.kernel.org/r/Message-ID: Link: https://lkml.kernel.org/r/TYCP286MB2323DA1894FA55BB9CF90978CA449@TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM Signed-off-by: Dawei Li <[email protected]> Reviewed-by: SeongJae Park <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions