Re: [PATCHv3 4/5] mm: make compound_head() robust
From: Christoph Lameter
Date: Fri Aug 21 2015 - 12:11:37 EST
On Fri, 21 Aug 2015, Kirill A. Shutemov wrote:
> > Is this really true? For example if it's a slab page, will that page
> > ever be inspected by code which is looking for the PageTail bit?
>
> +Christoph.
>
> What we know for sure is that space is not used in tail pages, otherwise
> it would collide with current compound_dtor.
Sl*b allocators only do a virt_to_head_page on tail pages.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/