Re: [PATCH 0/2] mm/damon/reclaim: fix initalization and parameter issues

From: SeongJae Park

Date: Fri Jun 19 2026 - 20:26:29 EST


On Sat, 20 Jun 2026 02:46:04 +0300 yahia <yahia.a.abdrabou@xxxxxxxxx> wrote:

> From: yahia ahmed <yahia.a.abdrabou@xxxxxxxxx>
>
> This patch series addresses a potential memory
> leak in the damon_reclain_init() function and a
> premature destruction of ctx if there was no error
> in the damon_reclaim_parameters() function
>
> yahia (2):
> mm/damon/reclaim: fix destruction of ctx
> mm/damon/reclaim: fix potential memory leak

Looks both patches are unnecessary to me. Could you please explain the issues
in detail, and if I'm wrong?


Thanks,
SJ

[...]