On Tue, 8 Jul 2025 19:47:29 -0500 Bijan Tabatabai bijan311@gmail.com wrote:
From: Bijan Tabatabai bijantabatab@micron.com
When committing new scheme parameters from the sysfs, the target_nid field of the damos struct would not be copied. This would result in the target_nid field to retain its original value, despite being updated in the sysfs interface.
This patch fixes this issue by copying target_nid in damos_commit().
Thank you for fixing this, Bijan!
Cc: stable@vger.kernel.org Fixes: 83dc7bbaecae ("mm/damon/sysfs: use damon_commit_ctx()") Signed-off-by: Bijan Tabatabai bijantabatab@micron.com
Reviewed-by: SeongJae Park sj@kernel.org
Thanks, SJ
[...]