]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/damon/sysfs-schemes: implement filters directory
authorSeongJae Park <sj@kernel.org>
Mon, 5 Dec 2022 23:08:24 +0000 (23:08 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 19 Jan 2023 01:12:43 +0000 (17:12 -0800)
commitac35264b9e8807f019f36e7dbc640b66fd43a865
treefe04020dfa4141ac195e3f84d4e6fe7a23f7eac5
parentd56fe24237c3dec29b7de20ce93a4a53306d180b
mm/damon/sysfs-schemes: implement filters directory

DAMOS filters are currently supported by only DAMON kernel API.  To expose
the feature to user space, implement a DAMON sysfs directory named
'filters' under each scheme directory.  Please note that this is
implementing only the directory.  Following commits will implement more
files and directories, and finally connect the DAMOS filters feature.

Link: https://lkml.kernel.org/r/20221205230830.144349-6-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/sysfs-schemes.c