]> Gentwo Git Trees - linux/.git/commit
mm/damon: add DAMOS quota goal type for per-memcg per-node memory usage
authorSeongJae Park <sj@kernel.org>
Fri, 17 Oct 2025 21:26:54 +0000 (14:26 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Nov 2025 01:28:07 +0000 (17:28 -0800)
commit6a18bbe48361acad1eae8d86aa47d353b1cfe619
tree16cd08da6dce1ef50425afa2c371690b7057b4a3
parentd3946c5f4c1c5db63532eb433a55c7d881de1389
mm/damon: add DAMOS quota goal type for per-memcg per-node memory usage

Define a new DAMOS quota auto-tuning target metric for per-cgroup per-node
memory usage.  For specifying the cgroup of the interest, add a field,
namely memcg_id, to damos_quota_goal struct.

Note that this commit is only implementing the interface.  The handling of
the interface (the metric value calculation) will be implemented in the
following commit.

Link: https://lkml.kernel.org/r/20251017212706.183502-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/damon.h