]> 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)
commite7396bd45e816f434da1709d153572583ea00e0a
treec54c6a4ef90cb32e1970923ead5f7976ea52e51d
parent3e55d721def3718df4b40a63108ef63ca7b536fe
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