Re: [PATCH v2] mm: page_alloc: move mlocked flag clearance into free_pages_prepare()

From: Sean Christopherson
Date: Tue Nov 05 2024 - 20:09:25 EST


On Tue, Oct 22, 2024, Roman Gushchin wrote:
> On Mon, Oct 21, 2024 at 12:49:28PM -0700, Hugh Dickins wrote:
> > On Mon, 21 Oct 2024, Roman Gushchin wrote:
> > I don't think there's any need to change your text, but
> > let me remind us that any "Bad page" report stops that page from being
> > allocated again (because it's in an undefined, potentially dangerous
> > state): so does amount to a small memory leak even if otherwise harmless.
>
> It looks like I need to post v3 as soon as I get a publicly available
> syzkaller report, so I'll add this to the commit log.

Today is your lucky day :-)

https://lore.kernel.org/all/6729f475.050a0220.701a.0019.GAE@xxxxxxxxxx