Re: [PATCH] bcache: Use a folio

2025-06-23 Thread Matthew Wilcox
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()

Re: [PATCH] bcache: Use a folio

2025-06-20 Thread Coly Li
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(),

Re: [PATCH] bcache: Use a folio

2025-06-15 Thread Coly Li
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(),

[PATCH] bcache: Use a folio

2025-06-13 Thread Matthew Wilcox (Oracle)
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