Messages in this thread | | | Date | Wed, 27 Mar 2024 12:32:47 +0000 | From | Matthew Wilcox <> | Subject | Re: [PATCH] mm: fix unproperly folio_put by changing API in read_pages |
| |
On Wed, Mar 27, 2024 at 01:54:06PM +0800, zhaoyang.huang wrote: > From: Zhaoyang Huang <zhaoyang.huang@unisoc.com> > > According to the comments of readahead_page[3], the refcnt which > represents page cache dropped in [1] makes sense for two reasons, '1. > The folio is going to do IO and is locked until IO done;2. The refcnt > will be added back when found again from the page cache and then serve > for PTE or vfs' while it doesn't make sense in [2] as the refcnt of > page cache will be dropped in filemap_remove_folio.
NAK, per previous email.
| |