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: NMatthew Wilcox (Oracle) <willy@infradead.org>
Showing
想要评论请 注册 或 登录
Since page->lru occupies the same bytes as compound_head, any page
on the LRU list must be a folio.
Signed-off-by: NMatthew Wilcox (Oracle) <willy@infradead.org>