]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mm/damon/core: commit damos_quota_goal->nid
authorSeongJae Park <sj@kernel.org>
Sat, 19 Jul 2025 18:19:32 +0000 (11:19 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 25 Jul 2025 00:57:59 +0000 (17:57 -0700)
commit1aef9df0ee90650ac3879dc994bb1a4b0e6dd83f
tree44ad34578f43c2964e028da6b4b3d1b100c9e301
parent6ade153349c6bb990d170cecc3e8bdd8628119ab
mm/damon/core: commit damos_quota_goal->nid

DAMOS quota goal uses 'nid' field when the metric is
DAMOS_QUOTA_NODE_MEM_{USED,FREE}_BP.  But the goal commit function is not
updating the goal's nid field.  Fix it.

Link: https://lkml.kernel.org/r/20250719181932.72944-1-sj@kernel.org
Fixes: 0e1c773b501f ("mm/damon/core: introduce damos quota goal metrics for memory node utilization") [6.16.x]
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/core.c