]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm/damon/sysfs-schemes: implement quotas->goal_tuner file
authorSeongJae Park <sj@kernel.org>
Tue, 10 Mar 2026 01:05:20 +0000 (18:05 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 5 Apr 2026 20:53:25 +0000 (13:53 -0700)
commite9a19cc85d4821a441f4b2d4756ae01e12f17393
treef3c236a0a0790d5b739ba9dca32685a3d0322024
parentaf738a6a00c1febb0d543ba6a1400413f824ecf1
mm/damon/sysfs-schemes: implement quotas->goal_tuner file

Add a new DAMON sysfs interface file, namely 'goal_tuner' under the DAMOS
quotas directory.  It is connected to the damos_quota->goal_tuner field.
Users can therefore select their favorite goal-based quotas tuning
algorithm by writing the name of the tuner to the file.  Reading the file
returns the name of the currently selected tuner.

Link: https://lkml.kernel.org/r/20260310010529.91162-5-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