]> git.ipfire.org Git - thirdparty/linux.git/commit
mm/damon/core: introduce DAMOS_QUOTA_GOAL_TUNER_TEMPORAL
authorSeongJae Park <sj@kernel.org>
Tue, 10 Mar 2026 01:05:19 +0000 (18:05 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 5 Apr 2026 20:53:25 +0000 (13:53 -0700)
commitaf738a6a00c1febb0d543ba6a1400413f824ecf1
tree36c6096ce3449ca5f0956fe90951eb88cc323f8f
parent54419bbd0ee3c7fb7f3c1e3e117f0b8d15d7a896
mm/damon/core: introduce DAMOS_QUOTA_GOAL_TUNER_TEMPORAL

Introduce a new goal-based DAMOS quota auto-tuning algorithm, namely
DAMOS_QUOTA_GOAL_TUNER_TEMPORAL (temporal in short).  The algorithm aims
to trigger the DAMOS action only for a temporal time, to achieve the goal
as soon as possible.  For the temporal period, it uses as much quota as
allowed.  Once the goal is achieved, it sets the quota zero, so
effectively makes the scheme be deactivated.

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