Re: [PATCH] selftests/mm: Fix memleak in migration benchmark

From: Hongfu Li

Date: Wed Jul 08 2026 - 21:55:34 EST


Hi,

> > Several early return paths in run_migration_benchmark() skip
> > hmm_buffer_free(), leaking the buffer. Replace with a single cleanup
> > label.
> >
>
> Probably best to add a Fixes: even when not really critical.
>
> > Signed-off-by: Hongfu Li <lihongfu@xxxxxxxxxx>
> > ---
>
> Nothing jumped at me
>
> Reviewed-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

Thanks for reviewing. Will add the Fixes tag and post an updated patch.

Best regards,
Hongfu