]> Gentwo Git Trees - linux/.git/commit
mm/damon/core: implement DAMOS_QUOTA_NODE_MEMCG_USED_BP
authorSeongJae Park <sj@kernel.org>
Fri, 17 Oct 2025 21:26:55 +0000 (14:26 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Nov 2025 01:28:07 +0000 (17:28 -0800)
commitb74a120bcf50787e5b9a2c3dcff999f9836ce1db
tree3775ab7992e7433caf1b6ff0416972dad5299668
parent6a18bbe48361acad1eae8d86aa47d353b1cfe619
mm/damon/core: implement DAMOS_QUOTA_NODE_MEMCG_USED_BP

Implement the handling of the new DAMOS quota goal metric for per-memcg
per-node memory usage, namely DAMOS_QUOTA_NODE_MEMCG_USED_BP.  The metric
value is calculated as the sum of active/inactive anon/file pages of the
given cgroup for a given NUMA node.

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