mm: Add lru_to_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 17 Jan 2022 19:40:12 +0000 (14:40 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 17 Feb 2022 22:05:53 +0000 (17:05 -0500)
commit051d010d5406de38e7efd981f043a39f3093c725
tree7d324add69a064e9a5d0721b440128dc2528469a
parentce0cfe53fd9749f6da96f8320481c26a7a72c4ce
mm: Add lru_to_folio()

Since page->lru occupies the same bytes as compound_head, any page
on the LRU list must be a folio.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/linux/mm.h