]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Mon, 21 Mar 2022 16:59:01 +0000 (12:59 -0400)
commiteacf35ef90dd6b9f25a20600db0a377febd12ea9
treed7162d908b5af818921ab377cbdd415ddb1d431f
parentac40bbfa1f015220b75bd11b1462caed28cad87f
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