]> git.baikalelectronics.ru Git - kernel.git/commit
mm/damon/modules-common: implement damos time quota params generator
authorSeongJae Park <sj@kernel.org>
Tue, 13 Sep 2022 17:44:46 +0000 (17:44 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:13 +0000 (14:03 -0700)
commit8590e7bfec0cc0a1f62264fe7b58821a7e7daf5c
treed096d9d409db202edc3d3a70d0a85c602ef238fe
parent7bdb3a30a8913ee38442eedb17a1210ce864ed10
mm/damon/modules-common: implement damos time quota params generator

DAMON_LRU_SORT have module parameters for DAMOS time quota only but size
quota.  This commit implements a macro for generating the module
parameters so that we can reuse later.

Link: https://lkml.kernel.org/r/20220913174449.50645-20-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/modules-common.h