]> git.ipfire.org Git - thirdparty/kernel/linux.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>
Mon, 17 Mar 2025 05:06:12 +0000 (22:06 -0700)
commitea1f204ba29a65ec70464fdd4de727e76c6e4d9c
treebe00f16322bf7f8e5dabdd1d8595fc7203a79caf
parent0431c42622612a96cce97cdd4cfbe7d487606cf3
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