]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit35b71efe3b486b434c21da93a947bd0f78510062
tree64ac635755d699b5a2d25f3072fe363d8178d07d
parentc91ebec7d8ff0edc2eaa522f2c5bec9e41d05056
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