Re: [PATCH v14 087/138] mm/filemap: Convert mapping_get_entry to return a folio
From: Vlastimil Babka
Date: Thu Aug 12 2021 - 13:37:17 EST
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@xxxxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
Acked-by: Vlastimil Babka <vbabka@xxxxxxx>