diff options
| author | SeongJae Park <sj@kernel.org> | 2026-03-06 18:29:08 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-04-05 23:53:20 +0300 |
| commit | 0bb7682fdb533be8412e5678eab246144d855138 (patch) | |
| tree | 6a8a2f052882fe39d033596b67a91dc60d9e9a51 /include/linux/mdev.h | |
| parent | 242a764abe149f297273be18fdb66cfeaf27dec2 (diff) | |
| download | linux-0bb7682fdb533be8412e5678eab246144d855138.tar.xz | |
mm/damon/core: add damon_merge_two_regions() debug_sanity check
A data corruption could cause damon_merge_two_regions() creating zero
length DAMON regions. Add a sanity check for that under
CONFIG_DAMON_DEBUG_SANITY.
Link: https://lkml.kernel.org/r/20260306152914.86303-6-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 'include/linux/mdev.h')
0 files changed, 0 insertions, 0 deletions
