diff options
author | 2025-03-06 09:58:57 -0800 | |
---|---|---|
committer | 2025-03-17 22:06:54 -0700 | |
commit | bf74bdfd2edb60ab44b48a6ef705207dc889dc3d (patch) | |
tree | 70f89d9b23b3f95fd96962cc7169c54456e5dda3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/damon/sysfs: validate user inputs from damon_sysfs_commit_input() (diff) | |
download | wireguard-linux-bf74bdfd2edb60ab44b48a6ef705207dc889dc3d.tar.xz wireguard-linux-bf74bdfd2edb60ab44b48a6ef705207dc889dc3d.zip |
mm/damon/core: invoke kdamond_call() after merging is done if possible
kdamond_call() callers may iterate the regions, so better to call it when
the number of regions is as small as possible. It is when
kdamond_merge_regions() is finished. Invoke it on the point.
This change is also aimed to make future changes for carrying online
parameters commit with damon_call() easier. The commit operation should
be able to make sequence between other aggregation interval based
operations including regioins merging and aggregation reset. Placing
damon_call() invocation after the regions merging makes the sequence
handling simpler.
Link: https://lkml.kernel.org/r/20250306175908.66300-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions