Re: [PATCH v6 17/27] mm/filemap: Add lock_folio
Looks good, Reviewed-by: Christoph Hellwig
[PATCH v6 17/27] mm/filemap: Add lock_folio
This is like lock_page() but for use by callers who know they have a folio. Convert __lock_page() to be __lock_folio(). This saves one call to compound_head() per contended call to lock_page(). Saves 362 bytes of text; mostly from improved register allocation and inlining decisions. __lock_folio