]> git.baikalelectronics.ru Git - kernel.git/commit
mm/damon/reclaim: use stat parameters generator
authorSeongJae Park <sj@kernel.org>
Tue, 13 Sep 2022 17:44:43 +0000 (17:44 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:12 +0000 (14:03 -0700)
commitb71f3ea83242890900bb0668201568df81244547
treec54c6a4ef90cb32e1970923ead5f7976ea52e51d
parent528ef2d996408d4b9cccf4b23a9976ab5e75cf39
mm/damon/reclaim: use stat parameters generator

This commit makes DAMON_RECLAIM to generate the module parameters for
DAMOS statistics using the generator macro to simplify the code and
reduce duplicates.

Link: https://lkml.kernel.org/r/20220913174449.50645-17-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/reclaim.c