OSDN Git Service

mm/damon/sysfs: split out schemes directory implementation to separate file
authorSeongJae Park <sj@kernel.org>
Wed, 26 Oct 2022 22:59:41 +0000 (22:59 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Nov 2022 23:01:26 +0000 (15:01 -0800)
commitc8e7b4d0ba348a8ef14956a80c780f152f433764
tree5fe07e05f53425f85e6ef02d0cfb9a0cc53918c4
parent4acd715ff57fd05a481c64d074db68f2cf5711aa
mm/damon/sysfs: split out schemes directory implementation to separate file

DAMON sysfs interface for 'schemes' directory is implemented using about
one thousand lines of code.  It has no strong dependency with other
parts of its file, so split it out to another file for better code
management.

Link: https://lkml.kernel.org/r/20221026225943.100429-11-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/Makefile
mm/damon/sysfs-common.h
mm/damon/sysfs-schemes.c [new file with mode: 0644]
mm/damon/sysfs.c