mm/damon/sysfs-schemes: support PSI-based quota auto-tune
authorSeongJae Park <sj@kernel.org>
Mon, 19 Feb 2024 19:44:25 +0000 (11:44 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 24 Feb 2024 01:48:29 +0000 (17:48 -0800)
commit4daacfe8f99f4b4cef562649d56c48642981f46e
treeb7bcee59d2728c9c33d5b2bcc1903407c4b9a557
parent2dbb60f789cbb5c0000a4664f40f9358b3a62ba2
mm/damon/sysfs-schemes: support PSI-based quota auto-tune

Extend DAMON sysfs interface to support the PSI-based quota auto-tuning by
adding a new file, 'target_metric' under the quota goal directory.  Old
users don't get any behavioral changes since the default value of the
metric is 'user input'.

Link: https://lkml.kernel.org/r/20240219194431.159606-15-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/sysfs-schemes.c