Re: [PATCH] mm: remove offset check on page->compound_head and folio->lru

From: Matthew Wilcox
Date: Thu Jan 06 2022 - 22:59:42 EST


On Thu, Jan 06, 2022 at 11:52:54PM +0000, Wei Yang wrote:
> FOLIO_MATCH() is used to make sure struct page and folio has identical
> layout for the first several words.
>
> The comparison of offset between page->compound_head and folio->lru is
> more like an internal check in struct page.
>
> This patch just removes it.
>
> Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx>

No.