Re: [PATCH 1/2] mm: update the memmap stat before page is freed

From: David Hildenbrand
Date: Wed Aug 07 2024 - 07:25:14 EST


On 07.08.24 00:14, Pasha Tatashin wrote:
It is more logical to update the stat before the page is freed, to avoid
use after free scenarios.

Fixes: 15995a352474 ("mm: report per-page metadata information")
Signed-off-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>
---

Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>

--
Cheers,

David / dhildenb