mm-damon-core-expose-damos_filter_for_ops-to-damon-kernel-api-callers.patch removed from -mm tree
The quilt patch titled
Subject: mm/damon/core: expose damos_filter_for_ops() to DAMON kernel API callers
has been removed from the -mm tree. Its filename was
mm-damon-core-expose-damos_filter_for_ops-to-damon-kernel-api-callers.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: SeongJae Park <[email protected]>
Subject: mm/damon/core: expose damos_filter_for_ops() to DAMON kernel API callers
Date: Wed, 5 Mar 2025 14:27:29 -0800
damos_filter_for_ops() can be useful to avoid putting wrong type of filters in wrong place. Make it be exposed to DAMON kernel API callers.
---
include/linux/damon.h | 1 + mm/damon/core.c | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-)
include/linux/damon.h renamed from include/linux/damon.h~mm-damon-core-expose-damos_filter_for_ops-to-damon-kernel-api-callers +1 -0
@@ -894,6 +894,7 @@ void damon_update_region_access_rate(strstruct damos_filter *damos_new_filter (enum damos_filter_type type,bool matching,bool allow);void damos_add_filter (struct damos *s,struct damos_filter *f); +bool damos_filter_for_ops (enum damos_filter_type type);void damos_destroy_filter (struct damos_filter *f); struct damos_quota_goal *damos_new_quota_goal(
mm/damon/core.c renamed from mm/damon/core.c~mm-damon-core-expose-damos_filter_for_ops-to-damon-kernel-api-callers +8 -1
@@ -281,7 +281,14 @@ struct damos_filter *damos_new_filter(enreturn filter; } -static bool damos_filter_for_ops (enum damos_filter_type type) +/** +* damos_filter_for_ops() - Return if the filter is ops-hndled one. +* @type: type of the filter. +* +* Return: true if the filter of @type needs to be handled by ops layer, false +* otherwise. +*/ +bool damos_filter_for_ops (enum damos_filter_type type) {switch (type) {case DAMOS_FILTER_TYPE_ADDR :
_
Patches currently in -mm which might be from [email protected] are