Re: [PATCH v10 01/33] mm: Introduce struct folio
From: Christoph Hellwig
Date: Thu May 27 2021 - 04:09:31 EST
On Tue, May 11, 2021 at 10:47:03PM +0100, Matthew Wilcox (Oracle) wrote:
> A struct folio is a new abstraction to replace the venerable struct page.
> A function which takes a struct folio argument declares that it will
> operate on the entire (possibly compound) page, not just PAGE_SIZE bytes.
> In return, the caller guarantees that the pointer it is passing does
> not point to a tail page.
I still hate the overlay that must match struct page with passion and
think it is going to come back and bytes us.
But we really need to get out of the compound page mess and move forward
with large page suppot in the page cache.
So:
Reluctantly-Acked-by: Christoph Hellwig <hch@xxxxxx>