* [PATCH] mm/damon/core: remove declaration of __damon_commit_ctx()
@ 2026-08-06 17:07 Zenghui Yu
2026-08-07 0:13 ` SJ Park
0 siblings, 1 reply; 2+ messages in thread
From: Zenghui Yu @ 2026-08-06 17:07 UTC (permalink / raw)
To: damon, linux-mm, linux-kernel; +Cc: sj, akpm, Zenghui Yu (Huawei)
From: "Zenghui Yu (Huawei)" <zenghui.yu@linux.dev>
It was added by commit b1471afe4d10 ("mm/damon/core: do parameter testing
commit on damon_start()") but is actually not needed. Remove it.
Signed-off-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
---
mm/damon/core.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/mm/damon/core.c b/mm/damon/core.c
index e03df0a61060..fb884b2b1c92 100644
--- a/mm/damon/core.c
+++ b/mm/damon/core.c
@@ -1954,8 +1954,6 @@ static int __damon_start(struct damon_ctx *ctx)
return err;
}
-static int __damon_commit_ctx(struct damon_ctx *dst, struct damon_ctx *src);
-
/**
* damon_start() - Starts the monitorings for a given group of contexts.
* @ctxs: an array of the pointers for contexts to start monitoring
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] mm/damon/core: remove declaration of __damon_commit_ctx()
2026-08-06 17:07 [PATCH] mm/damon/core: remove declaration of __damon_commit_ctx() Zenghui Yu
@ 2026-08-07 0:13 ` SJ Park
0 siblings, 0 replies; 2+ messages in thread
From: SJ Park @ 2026-08-07 0:13 UTC (permalink / raw)
To: Zenghui Yu; +Cc: SJ Park, damon, linux-mm, linux-kernel, akpm
On Fri, 7 Aug 2026 01:07:01 +0800 Zenghui Yu <zenghui.yu@linux.dev> wrote:
> From: "Zenghui Yu (Huawei)" <zenghui.yu@linux.dev>
>
> It was added by commit b1471afe4d10 ("mm/damon/core: do parameter testing
> commit on damon_start()") but is actually not needed. Remove it.
Thank you for finding and fixing this, Zenghui!
>
> Signed-off-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
Reviewed-by: SJ Park <sj@kernel.org>
I applied this patch to damon/next [1] tree. We are now quite close to next
merge window. We (mm community) want to focus on making mm.git more stabilized
and therefore ready for the next merge window, rather than adding more changes
that are not really urgent. I understand this series is not really urgent.
Hence, Andrew might not add this patch until next -rc1 release. In the case, I
will request adding this to mm.git after next -rc1 release. So, no action from
your side is needed for now. Let me know if you think this is really urgent.
[1] https://origin.kernel.org/doc/html/latest/mm/damon/maintainer-profile.html#scm-trees
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-07 0:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-06 17:07 [PATCH] mm/damon/core: remove declaration of __damon_commit_ctx() Zenghui Yu
2026-08-07 0:13 ` SJ Park
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox