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

This commit makes DAMON_LRU_SORT 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-18-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/lru_sort.c