]> www.infradead.org Git - users/dwmw2/linux.git/commit
mm/damon/syfs-schemes: implement per-scheme filter-passed bytes stat
authorSeongJae Park <sj@kernel.org>
Mon, 6 Jan 2025 19:33:53 +0000 (11:33 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 26 Jan 2025 04:22:27 +0000 (20:22 -0800)
commit9caac9d55fa6d90d0f95000fa8ed424c151421e3
tree5848b4bbb25806221ddc4243b54a8ee8a4d46997
parent60fa9355a6c620f7b727d3fdb433fb6cf714a9b0
mm/damon/syfs-schemes: implement per-scheme filter-passed bytes stat

Add a new DAMON sysfs interface file under scheme stat directory, namely
'sz_ops_filter_passed'.  It represents total bytes that passed
region-internal DAMOS filters of the scheme that handled by the DAMON
operations set layer.

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