]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mm/damon/sysfs: remove damon_sysfs_cmd_request and its readers
authorSeongJae Park <sj@kernel.org>
Thu, 6 Mar 2025 17:59:02 +0000 (09:59 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Mar 2025 05:06:55 +0000 (22:06 -0700)
commitd682f5f643420aa5b06d34c679f3fb3fd60fbe14
tree58b8eb0f54883ecfb001d6f3ec83ee037752112d
parent311f34ff85d2a0fb36b3566ef45dc21ee5089476
mm/damon/sysfs: remove damon_sysfs_cmd_request and its readers

damon_sysfs_cmd_request is DAMON sysfs interface's own synchronization
mechanism for accessing DAMON internal data via damon_callback hooks.  All
the users are now migrated to damon_call() and damos_walk(), so nobody
really uses it.  No one writes to the data structure but reading code is
still remained.  Remove the reading code and the entire data structure.

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