]> git.baikalelectronics.ru Git - kernel.git/commit
mm/damon/sysfs: move targets setup code to a separated function
authorSeongJae Park <sj@kernel.org>
Tue, 10 May 2022 01:20:55 +0000 (18:20 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 13 May 2022 14:20:08 +0000 (07:20 -0700)
commitce647b3b328200ccb9908e014279fa08ec56a084
treeb0d3832ec3ef5417e93c945ac0e102907ea3ef13
parent16f0e5727f0c12528aea31be0856e02eac80cfaf
mm/damon/sysfs: move targets setup code to a separated function

This commit separates DAMON sysfs interface's monitoring context targets
setup code to a new function for better readability.

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