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

From: Christoph Hellwig
Date: Mon Feb 07 2022 - 02:53:35 EST


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?