[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8da4b0dc-6522-40ff-ba61-ea41fb3437b0@redhat.com>
Date: Wed, 7 Aug 2024 13:24:57 +0200
From: David Hildenbrand <david@...hat.com>
To: Pasha Tatashin <pasha.tatashin@...een.com>, agordeev@...ux.ibm.com,
akpm@...ux-foundation.org, alexghiti@...osinc.com, aou@...s.berkeley.edu,
ardb@...nel.org, arnd@...db.de, bhe@...hat.com, bjorn@...osinc.com,
borntraeger@...ux.ibm.com, bp@...en8.de, catalin.marinas@....com,
chenhuacai@...nel.org, chenjiahao16@...wei.com, christophe.leroy@...roup.eu,
dave.hansen@...ux.intel.com, dawei.li@...ngroup.cn,
gerald.schaefer@...ux.ibm.com, gor@...ux.ibm.com, hca@...ux.ibm.com,
hpa@...or.com, kent.overstreet@...ux.dev, kernel@...0n.name,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, linuxppc-dev@...ts.ozlabs.org,
linux-riscv@...ts.infradead.org, linux-s390@...r.kernel.org,
loongarch@...ts.linux.dev, luto@...nel.org, maobibo@...ngson.cn,
mark.rutland@....com, mcgrof@...nel.org, mingo@...hat.com,
mpe@...erman.id.au, muchun.song@...ux.dev, namcao@...utronix.de,
naveen@...nel.org, npiggin@...il.com, osalvador@...e.de, palmer@...belt.com,
paul.walmsley@...ive.com, peterz@...radead.org, philmd@...aro.org,
rdunlap@...radead.org, rientjes@...gle.com, rppt@...nel.org,
ryan.roberts@....com, souravpanda@...gle.com, svens@...ux.ibm.com,
tglx@...utronix.de, tzimmermann@...e.de, will@...nel.org, x86@...nel.org
Subject: Re: [PATCH 1/2] mm: update the memmap stat before page is freed
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@...een.com>
> ---
Reviewed-by: David Hildenbrand <david@...hat.com>
--
Cheers,
David / dhildenb
Powered by blists - more mailing lists