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

David Hildenbrand david at redhat.com
Wed Aug 7 04:24:57 PDT 2024


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 at soleen.com>
> ---

Reviewed-by: David Hildenbrand <david at redhat.com>

-- 
Cheers,

David / dhildenb




More information about the linux-riscv mailing list