On Fri, Jun 20, 2025 at 07:58:56PM +0800, Coly Li wrote:
> On Fri, Jun 13, 2025 at 08:19:39PM +0800, Matthew Wilcox (Oracle) wrote:
> > 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()
On Fri, Jun 13, 2025 at 08:19:39PM +0800, Matthew Wilcox (Oracle) wrote:
> 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(),
On Fri, Jun 13, 2025 at 08:19:39PM +0800, Matthew Wilcox (Oracle) wrote:
> 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(),
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)
---
drivers/md