mm/damon/lru_sort: use monitoring attributes parameters generaotr macro
authorSeongJae Park <sj@kernel.org>
Tue, 13 Sep 2022 17:44:37 +0000 (17:44 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:11 +0000 (14:03 -0700)
commit95f7c05d73fc6d9cfe43fb18b2f16b21eb55b5bf
tree64ac635755d699b5a2d25f3072fe363d8178d07d
parentb3c28d886329d8df66679f72f3f3c81c0dd21e88
mm/damon/lru_sort: use monitoring attributes parameters generaotr macro

This commit makes DAMON_LRU_SORT to generate the module parameters for
DAMON monitoring attributes using the generator macro to simplify the code
and reduce duplicates.

Link: https://lkml.kernel.org/r/20220913174449.50645-11-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