Re: [PATCH v5 1/3] mm: don't account memmap on failure

From: David Rientjes
Date: Sun Aug 11 2024 - 16:24:58 EST


On Fri, 9 Aug 2024, Pasha Tatashin wrote:

> When we fail to allocate the mmemmap in alloc_vmemmap_page_list(), do
> not account any already-allocated pages: we're going to free all them
> before we return from the function.
>
> Fixes: 15995a352474 ("mm: report per-page metadata information")
> Signed-off-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>
> Reviewed-by: Fan Ni <fan.ni@xxxxxxxxxxx>
> Reviewed-by: Yosry Ahmed <yosryahmed@xxxxxxxxxx>
> Acked-by: David Hildenbrand <david@xxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>