]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm/damon: rename DAMON_MIN_REGION to DAMON_MIN_REGION_SZ
authorSeongJae Park <sj@kernel.org>
Sat, 17 Jan 2026 17:52:54 +0000 (09:52 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 31 Jan 2026 22:22:46 +0000 (14:22 -0800)
commitdfb1b0c9dc0d61e422905640e1e7334b3cf6f384
tree6e87c1d728719ebb045c47b79eadbeced7e4618e
parent52c5d3ee8a64ebbbd53f6090bb42ea268247a314
mm/damon: rename DAMON_MIN_REGION to DAMON_MIN_REGION_SZ

The macro is for the default minimum size of each DAMON region.  There was
a case that a reader was confused if it is the minimum number of total
DAMON regions, which is set on damon_attrs->min_nr_regions.  Make the name
more explicit.

Link: https://lkml.kernel.org/r/20260117175256.82826-8-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/damon.h
mm/damon/core.c
mm/damon/lru_sort.c
mm/damon/reclaim.c
mm/damon/sysfs.c
mm/damon/tests/vaddr-kunit.h
mm/damon/vaddr.c