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

- From: Vlastimil Babka \<hidden\>
- Date: 2021-08-12 17:37:17 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/08/212251
- Thread: https://ratatoskr.run/linux-mm/2021/07/209943/t/5.md

```text
On 7/15/21 5:36 AM, Matthew Wilcox (Oracle) 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>

Acked-by: Vlastimil Babka <redacted>

```
