diff options
| author | SeongJae Park <sj@kernel.org> | 2025-11-11 21:44:07 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-11-21 00:44:00 +0300 |
| commit | c1cefda77668ddaed56d2f44020e217bd6476951 (patch) | |
| tree | 91114d1ce7d31988dfffafaacb556b9694394280 /scripts | |
| parent | 11bb980d41682df3af06e36f9baf89e6d459fa4f (diff) | |
| download | linux-c1cefda77668ddaed56d2f44020e217bd6476951.tar.xz | |
mm/damon/core: pass migrate_dests to damos_commit_dests()
damos_commit_dests() receives 'struct damos' pointers, while it uses only
their ->migrate_dests fields. This makes code unnecessarily difficult to
read. It also makes unit tests writing complicated. Refactor the
function to receive pointers to the ->migrate_dests fields.
Link: https://lkml.kernel.org/r/20251111184415.141757-9-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Cc: David Gow <davidgow@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
