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)
commitdd172fbf8f1d3befd0a22357a251d8d516354d5f
tree10c7aeb5c0cff289b9bb7d2ec177f425d5138d8b
parentb71f3ea83242890900bb0668201568df81244547
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