mm/damon/lru_sort: use watermarks parameters generator macro
authorSeongJae Park <sj@kernel.org>
Tue, 13 Sep 2022 17:44:40 +0000 (17:44 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:12 +0000 (14:03 -0700)
commit6517d2d97709e01c6758dcccc7a51e3731c8706f
tree766c626b1238e42979ea846fcdfbe93fc60e4943
parentb324ee36e9685689a55c1faee669cd7a1a42bae0
mm/damon/lru_sort: use watermarks parameters generator macro

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

Link: https://lkml.kernel.org/r/20220913174449.50645-14-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
mm/damon/modules-common.h