[PATCHv6 03/17] mm: Rename the 'compound_head' field in the 'struct page' to 'compound_info'

David Hildenbrand (arm) david at kernel.org
Wed Feb 4 08:14:48 PST 2026


On 2/2/26 16:56, Kiryl Shutsemau wrote:
> The 'compound_head' field in the 'struct page' encodes whether the page
> is a tail and where to locate the head page. Bit 0 is set if the page is
> a tail, and the remaining bits in the field point to the head page.
> 
> As preparation for changing how the field encodes information about the
> head page, rename the field to 'compound_info'.
> 
> Signed-off-by: Kiryl Shutsemau <kas at kernel.org>
> Reviewed-by: Muchun Song <muchun.song at linux.dev>
> Reviewed-by: Zi Yan <ziy at nvidia.com>
> ---

Acked-by: David Hildenbrand (arm) <david at kernel.org>

-- 
Cheers,

David



More information about the linux-riscv mailing list