Re: [PATCH 31/75] mm: Add lru_to_folio()

From: Matthew Wilcox
Date: Fri Feb 11 2022 - 15:24:28 EST


On Sun, Feb 06, 2022 at 11:50:06PM -0800, Christoph Hellwig wrote:
> On Fri, Feb 04, 2022 at 07:58:08PM +0000, Matthew Wilcox (Oracle) wrote:
> > Since page->lru occupies the same bytes as compound_head, any page
> > on the LRU list must be a folio.
>
> Any reason to not turn this into an inline function?

Good idea. Done.