mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
Retrieve a folio from the page cache instead of a page. Removes a hidden call to compound_head(). Then be sure to call folio_put() instead of put_page() to release it. That doesn't save any calls to compound_head(), just moves them around. Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Coly Li <[email protected]> Acked-back: Coly Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] [axboe: commit message massaging] Signed-off-by: Jens Axboe <[email protected]>