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

From: David Hildenbrand (Arm)

Date: Wed Jul 08 2026 - 09:17:33 EST


On 7/8/26 12:37, Hongfu Li wrote:
> 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>

--
Cheers,

David