]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/damon/sysfs-schemes: connect filter directory and filters directory
authorSeongJae Park <sj@kernel.org>
Mon, 5 Dec 2022 23:08:26 +0000 (23:08 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 19 Jan 2023 01:12:44 +0000 (17:12 -0800)
commit472e2b70eda6a1bccb62f391808924a59c49e22f
tree4483fe1deabdfe0a6bb3d626af106acda2416e1a
parent7ee161f18b5da5170b5d6a51aace49d312099128
mm/damon/sysfs-schemes: connect filter directory and filters directory

Implement 'nr_filters' file under 'filters' directory, which will be used
to populate specific number of 'filter' directory under the directory,
similar to other 'nr_*' files in DAMON sysfs interface.

Link: https://lkml.kernel.org/r/20221205230830.144349-8-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