diff options
| author | SeongJae Park <sj@kernel.org> | 2025-03-04 01:17:23 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-03-17 10:05:33 +0300 |
| commit | 1077605396b4da993327ebe40eabc28478e2be94 (patch) | |
| tree | 88e4eaac602630a3c364ef0499dbfc309e320105 /include/linux/kernel_stat.h | |
| parent | 0622c68d0a51f1268f3f9a171f4969c1bfc07c05 (diff) | |
| download | linux-1077605396b4da993327ebe40eabc28478e2be94.tar.xz | |
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 'include/linux/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions
