mm/damon/lru_sort: use quotas param generator
authorSeongJae Park <sj@kernel.org>
Tue, 13 Sep 2022 17:44:48 +0000 (17:44 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:13 +0000 (14:03 -0700)
commit45b8212fc555d07ed78b9270283d61afbdee1df6
tree684d9439bde569bc37530972132d093ccf2ea1e3
parenta9d57c7369532cdcd3a834c3f0cc5ad6b2f0f1ff
mm/damon/lru_sort: use quotas param generator

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-22-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