]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/damon/sysfs-schemes: add files for setting damos_filter->sz_range
authorUsama Arif <usamaarif642@gmail.com>
Tue, 11 Feb 2025 12:43:41 +0000 (12:43 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Feb 2025 00:59:58 +0000 (16:59 -0800)
commitf46d26ad11f467724dcd6831cd4395c74f62dcbe
tree8572f1dd7430260239093fa3a20b57378ed6657b
parent5b37e24dc8c79792305743489419ec40b6c60e07
mm/damon/sysfs-schemes: add files for setting damos_filter->sz_range

Add min and max files for damon filters to let the userspace decide the
min/max folio size to operate on.  This will be needed to decide what
folio sizes to give pa_stat for.

Link: https://lkml.kernel.org/r/20250211124437.278873-3-usamaarif642@gmail.com
Signed-off-by: Usama Arif <usamaarif642@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/sysfs-schemes.c