Re: [PATCH v2 5/5] mm/page_alloc: remove set_page_private() in prep_compound_tail()

From: David Hildenbrand (Arm)

Date: Mon Jul 06 2026 - 04:28:28 EST


On 7/3/26 15:47, Zi Yan wrote:
> Tail pages are expected to have (and optionally be checked) zeroed
> ->private when they are freed. It stays true during subsequent
> reallocation, so replace the tail_page->private initialization with a
> VM_WARN_ON_ONCE() in compound page preparation.
>
> Acked-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>
> Signed-off-by: Zi Yan <ziy@xxxxxxxxxx>
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,

David