Re: [RFC PATCH v2 1/4] mm/damon: Generalize ctx_target creation for damon_ops_id and add vaddr support
From: SeongJae Park
Date: Sat May 23 2026 - 13:20:30 EST
On Fri, 22 May 2026 14:55:15 +0000 <gutierrez.asier@xxxxxxxxxxxxxxxxxxx> wrote:
> From: Asier Gutierrez <gutierrez.asier@xxxxxxxxxxxxxxxxxxx>
>
> This patch adds a new function damon_modules_new_vaddr_ctx_target.
> Since ctx_target creation for vaddr and paddr is almost identical, the
> logic is extracted to a new function, damon_modules_new_ctx_target,
> and vaddr and paddr functions are left just as interfaces.
>
> This change was suggested earlier1 and it is needed to allow
> developers to create DAMON modules that use DAMON_OPS_VADDR targets.
As I commented to the cover letter, let's put this just before really be used.
Thanks,
SJ
[...]