[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51f96b31-fb59-4cda-9d33-e3cebc45686b@kernel.org>
Date: Sat, 7 Feb 2026 23:08:03 +0100
From: "David Hildenbrand (Arm)" <david@...nel.org>
To: Mikhail Gavrilov <mikhail.v.gavrilov@...il.com>, linux-mm@...ck.org
Cc: akpm@...ux-foundation.org, vbabka@...e.cz, surenb@...gle.com,
mhocko@...e.com, jackmanb@...gle.com, hannes@...xchg.org, ziy@...dia.com,
npiggin@...il.com, linux-kernel@...r.kernel.org, kasong@...cent.com,
hughd@...gle.com, chrisl@...nel.org, ryncsn@...il.com,
stable@...r.kernel.org, willy@...radead.org
Subject: Re: [PATCH v3] mm/page_alloc: clear page->private in
free_pages_prepare()
>
> - /*
> - * page->private should not be set in tail pages. Fix up
> and warn once
> - * if private is unexpectedly set.
> - */
> - if (unlikely(new_folio->private)) {
> - VM_WARN_ON_ONCE_PAGE(true, new_head);
> - new_folio->private = NULL;
> - }
BTW, I wonder whether we should bring that check back for non-device folios.
--
Cheers,
David
Powered by blists - more mailing lists