mm/damon/core: commit damos->migrate_dests
authorBijan Tabatabai <bijantabatab@micron.com>
Wed, 9 Jul 2025 00:59:37 +0000 (19:59 -0500)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 20 Jul 2025 01:59:49 +0000 (18:59 -0700)
commitcbc4eea4ffb5c9858b8f4dc7cae5897b01102a3f
tree8d6c2457c0d9e731149b169d64adb45fb9739d53
parent3a4785c2d3bee59a0e39ad94b672f6e1a1180981
mm/damon/core: commit damos->migrate_dests

When committing new scheme parameters from the sysfs, copy the
migrate_dests struct of the source schemes into the destination schemes.

Link: https://lkml.kernel.org/r/20250709005952.17776-8-bijan311@gmail.com
Signed-off-by: Bijan Tabatabai <bijantabatab@micron.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Ravi Shankar Jonnalagadda <ravis.opensrc@micron.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/core.c