Re: [PATCH 0/4] mm/damon: allow NULL or unstarted damon_ctx parameter for damon_call()
From: SJ Park
Date: Wed Sep 02 2026 - 21:25:38 EST
On Wed, 2 Sep 2026 18:03:29 -0700 SJ Park <sj@xxxxxxxxxx> wrote:
> Callers of damon_call() should validate the damon_ctx object parameter.
> If it is NULL or never damon_start()-ed object, damon_call() could
> dereference the NULL pointer or indefinitely hang. Ensuring all callers
> doing the validation correctly has turned out to be difficult. Handle
> the corner cases inside the core layer and remove callers' validations.
Sashiko found no blocker for this series. Sashiko sent its findings to damon@
mailing list [1], and I replied to all the comments having findings other than
the absence of issues. Please read those for details.
[1] https://lore.kernel.org/damon/
Thanks,
SJ
[...]