mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 19:31:42 -04:00
mm/damon/core: rename damos_filter_out() to damos_core_filter_out()
DAMOS filters are processed on the core layer and operations layer, depending on their types. damos_filter_out() in core.c, which is for only core layer handled filters, can confuse the fact. Rename it to damos_core_filter_out(), to be more explicit about the fact. Link: https://lkml.kernel.org/r/20260117175256.82826-7-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
177c8a2729
commit
52c5d3ee8a
@@ -1813,7 +1813,7 @@ static bool damos_filter_match(struct damon_ctx *ctx, struct damon_target *t,
|
||||
return matched == filter->matching;
|
||||
}
|
||||
|
||||
static bool damos_filter_out(struct damon_ctx *ctx, struct damon_target *t,
|
||||
static bool damos_core_filter_out(struct damon_ctx *ctx, struct damon_target *t,
|
||||
struct damon_region *r, struct damos *s)
|
||||
{
|
||||
struct damos_filter *filter;
|
||||
@@ -1960,7 +1960,7 @@ static void damos_apply_scheme(struct damon_ctx *c, struct damon_target *t,
|
||||
goto update_stat;
|
||||
damon_split_region_at(t, r, sz);
|
||||
}
|
||||
if (damos_filter_out(c, t, r, s))
|
||||
if (damos_core_filter_out(c, t, r, s))
|
||||
return;
|
||||
ktime_get_coarse_ts64(&begin);
|
||||
trace_damos_before_apply(cidx, sidx, tidx, r,
|
||||
|
||||
Reference in New Issue
Block a user