]> 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>
Tue, 4 Mar 2025 05:49:49 +0000 (21:49 -0800)
commit344caba12de7c01b52b5d564f42ed8d12fec4a36
tree08b69006bf8f71c8a2defe5b7a2001c2038c2513
parentcc1fd0f6d7946d655b4528e7f3a869d42b59c8a8
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