Re: [PATCH v14 087/138] mm/filemap: Convert mapping_get_entry to return a folio

From: David Howells
Date: Tue Aug 10 2021 - 18:00:51 EST


Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> 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>

Reviewed-by: David Howells <dhowells@xxxxxxxxxx>