# Re: \[PATCH v14 087/138\] mm/filemap: Convert mapping\_get\_entry to return a folio

- From: David Howells \<dhowells@redhat.com\>
- Date: 2021-08-10 22:00:55 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/08/212037
- Thread: https://ratatoskr.run/linux-mm/2021/07/209943/t/5.md

```text
Matthew Wilcox (Oracle) [ref] wrote:

> The pagecache only contains folios, so indicate that this is definitely
> not a tail page.  Shrinks mapping_get_entry() by 56 bytes, but grows
> pagecache_get_page() by 21 bytes as gcc makes slightly different hot/cold
> code decisions.  A net reduction of 35 bytes of text.
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
> Reviewed-by: Christoph Hellwig <hch@lst.de>

Reviewed-by: David Howells <dhowells@redhat.com>


```
