diff options
| author | 2026-03-06 07:29:09 -0800 | |
|---|---|---|
| committer | 2026-04-05 13:53:20 -0700 | |
| commit | c070da23913f66b7c08340a137622ba2f2203616 (patch) | |
| tree | 6b1c8d459929385906d71363e441f8dd94812067 /scripts/Makefile.thinlto | |
| parent | mm/damon/core: add damon_merge_two_regions() debug_sanity check (diff) | |
mm/damon/core: add damon_merge_regions_of() debug_sanity check
damon_merge_regions_of() should be called only after aggregation is
finished and therefore each region's nr_accesses and nr_accesses_bp match.
There were bugs that broke the assumption, during development of online
DAMON parameter updates and monitoring results handling changes. Add a
sanity check for that under CONFIG_DAMON_DEBUG_SANITY.
Link: https://lkml.kernel.org/r/20260306152914.86303-7-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Cc: David Gow <davidgow@google.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
