mm/damon/reclaim: use the quota params generator macro
authorSeongJae Park <sj@kernel.org>
Tue, 13 Sep 2022 17:44:47 +0000 (17:44 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:13 +0000 (14:03 -0700)
commita9d57c7369532cdcd3a834c3f0cc5ad6b2f0f1ff
tree0cb50152ce5993bd7673f0f759d2991c9b7318ab
parent1f55402685d10aa336cf9b25e83b416e4fc0c153
mm/damon/reclaim: use the quota params generator macro

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

Link: https://lkml.kernel.org/r/20220913174449.50645-21-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/reclaim.c