diff options
author | 2025-03-03 14:17:20 -0800 | |
---|---|---|
committer | 2025-03-17 00:05:32 -0700 | |
commit | f04b0fedbe714f822bd066b319a60faa39a985a1 (patch) | |
tree | 0da2f0055572de5388ddc6f7c0e6d3e70ff6b732 /mm/hugetlb.c | |
parent | mm/damon: add data structure for monitoring intervals auto-tuning (diff) | |
download | wireguard-linux-f04b0fedbe714f822bd066b319a60faa39a985a1.tar.xz wireguard-linux-f04b0fedbe714f822bd066b319a60faa39a985a1.zip |
mm/damon/core: implement intervals auto-tuning
Implement the DAMON sampling and aggregation intervals auto-tuning
mechanism as briefly described on 'struct damon_intervals_goal'. The core
part for deciding the direction and amount of the changes is implemented
reusing the feedback loop function which is being used for DAMOS quotas
auto-tuning. Unlike the DAMOS quotas auto-tuning use case, limit the
maximum decreasing amount after the adjustment to 50% of the current
value, though. This is because the intervals have no good merits at rapid
reductions since it could unnecessarily increase the monitoring overhead.
Link: https://lkml.kernel.org/r/20250303221726.484227-3-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