]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/damon: remove damon_callback->before_damos_apply
authorSeongJae Park <sj@kernel.org>
Thu, 6 Mar 2025 17:59:07 +0000 (09:59 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Mar 2025 05:06:56 +0000 (22:06 -0700)
commit99ce7c9c6d855716356f2f839c53905592fd780b
tree56afe6a5790b7f0e67a7fbd5c421ad510c44bb89
parentcedee98f68875605dad644a95a63eae04de250b2
mm/damon: remove damon_callback->before_damos_apply

The hook was introduced to let DAMON kernel API users access DAMOS
schemes-eligible regions in a safe way.  Now it is no more used by anyone,
and the functionality is provided in a better way by damos_walk().  Remove
it.

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