]> 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)
commit99c3bd2e16327abecb797061976af837674af34a
treed096d9d409db202edc3d3a70d0a85c602ef238fe
parentf8d21e6b554ee09891589a46700364870420b892
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