Re: [PATCH 0/6] samples/damon: handle damon_{start,stop}() failures
From: SJ Park
Date: Mon Jun 29 2026 - 09:54:24 EST
On Sun, 28 Jun 2026 21:49:00 -0700 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Sun, 28 Jun 2026 14:54:39 -0700 SJ Park <sj@xxxxxxxxxx> wrote:
>
> > All DAMON sample modules are not correctly handling failures from
> > damon_start(). Among those, mtier also has an additional problem for
> > handling of damon_stop() failures. wsse and prcl also have a problem in
> > their damon_call() failure handling. As a result, memory leaks, next
> > DAMON operation disruptions, and use-after-free can happen. Fix those.
> >
> > Note that only the damon_start() failure caused issues can reliably be
> > reproduced. Reproducing those issues require the admin permission,
> > though.
>
> So it doesn't seem that we need to fast-track all this into 7.2-rcX?
Yes, I think it is fine as long as they can be merged into necessary stable
kernels in reasonable time. And 7.3 also sounds reasonable to me.
Thanks,
SJ