mm/damon/sysfs: use only quota->goals
authorSeongJae Park <sj@kernel.org>
Mon, 19 Feb 2024 19:44:20 +0000 (11:44 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 24 Feb 2024 01:48:27 +0000 (17:48 -0800)
commit9e736fdffe527b25cdd8c5b019e88681796fdb6e
treefa3386c1482861d0c2743be68d9a638c44950b7d
parent91f21216a79d00f7da380ed4ce100e8a7a0d0cff
mm/damon/sysfs: use only quota->goals

DAMON sysfs interface implements multiple quota auto-tuning goals on its
level since the DAMOS core logic was supporting only single goal.  Now the
core logic supports multiple goals on its level.  Update DAMON sysfs
interface to reuse the core logic and drop unnecessary duplicated multiple
goals implementation.

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