diff options
author | 2025-03-03 14:17:23 -0800 | |
---|---|---|
committer | 2025-03-17 00:05:33 -0700 | |
commit | 1077605396b4da993327ebe40eabc28478e2be94 (patch) | |
tree | 88e4eaac602630a3c364ef0499dbfc309e320105 /mm/hugetlb.c | |
parent | mm/damon/sysfs: commit intervals tuning goal (diff) | |
download | wireguard-linux-1077605396b4da993327ebe40eabc28478e2be94.tar.xz wireguard-linux-1077605396b4da993327ebe40eabc28478e2be94.zip |
mm/damon/sysfs: implement a command to update auto-tuned monitoring intervals
DAMON kernel API callers can show auto-tuned sampling and aggregation
intervals from the monmitoring attributes data structure. That can be
useful for debugging or tuning of the feature. DAMON user-space ABI users
has no way to see that, though. Implement a new DAMON sysfs interface
command, namely 'update_tuned_intervals', for the purpose. If the command
is written to the kdamond state file, the tuned sampling and aggregation
intervals will be updated to the corresponding sysfs interface files.
Link: https://lkml.kernel.org/r/20250303221726.484227-6-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions