]> git.baikalelectronics.ru Git - kernel.git/commit
mm/damon/reclaim: support online inputs update
authorSeongJae Park <sj@kernel.org>
Tue, 10 May 2022 01:20:56 +0000 (18:20 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 13 May 2022 14:20:09 +0000 (07:20 -0700)
commitabf795dd1f8c09d967f2df6d3dc5a38866d84644
tree05cd79509896e5fbaae7cd63521a87e468ec9e7b
parentf3d26929bc00974b27948844b16101dbf4ef2723
mm/damon/reclaim: support online inputs update

DAMON_RECLAIM reads the user input parameters only when it starts.  To
allow more efficient online tuning, this commit implements a new input
parameter called 'commit_inputs'.  Writing true to the parameter makes
DAMON_RECLAIM reads the input parameters again.

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