mm/damon/core: remove ->goal field of damos_quota
authorSeongJae Park <sj@kernel.org>
Mon, 19 Feb 2024 19:44:21 +0000 (11:44 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 24 Feb 2024 01:48:28 +0000 (17:48 -0800)
commit89d347a545a704e0bd4fc61f9aea956d71bc72d2
treed50534c0c07b27546874b56bb4920a3f20ee5e28
parent9e736fdffe527b25cdd8c5b019e88681796fdb6e
mm/damon/core: remove ->goal field of damos_quota

DAMOS quota auto-tuning feature supports static signle goal and dynamic
multiple goals via DAMON kernel API, specifically via ->goal and ->goals
fields of damos_quota struct, respectively.  All in-tree DAMOS kernel API
users are using only the dynamic multiple goals now.  Remove the unsued
static single goal interface.

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