]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/damon/sysfs: rename damon_sysfs_set_targets() to ...add_targets()
authorSeongJae Park <sj@kernel.org>
Tue, 18 Jun 2024 18:18:03 +0000 (11:18 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:30:14 +0000 (19:30 -0700)
commit2caef83db9f8e082cbdd5afaf00894adaaa8ab17
tree7fc040d1ff8afa0ba22f2cea6374e62399343488
parentd96727a251fd2b9330c5cfc8246ce208cb4e99f6
mm/damon/sysfs: rename damon_sysfs_set_targets() to ...add_targets()

The function was 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 function to assume the structs are not partially
populated, and do only adding items.  Make the function name better
explain the behavior.

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