]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/damon/sysfs-schemes: rename *_set_{schemes,scheme_filters,quota_score,schemes}()
authorSeongJae Park <sj@kernel.org>
Tue, 18 Jun 2024 18:18:05 +0000 (11:18 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:30:14 +0000 (19:30 -0700)
commita83364a2164acf01fae9e5388648502388b4a12e
tree8f9214f810fe07600b219d92933093e2886ece8d
parent0fddd6047692b1eb9e9655e2faeb8c3035c214c6
mm/damon/sysfs-schemes: rename *_set_{schemes,scheme_filters,quota_score,schemes}()

The functions were for updating DAMON structs that may or may not be
partially populated.  Hence it was not for only adding items, but also
removing unnecessary items and updating items in-place.  A previous commit
has changed the functions to assume the structs are not partially
populated, and do only adding items.  Make the names better explain the
behavior.

Link: https://lkml.kernel.org/r/20240618181809.82078-9-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/sysfs-common.h
mm/damon/sysfs-schemes.c
mm/damon/sysfs.c