Re: [PATCH v14 059/138] mm/rmap: Add folio_mkclean()

From: David Howells
Date: Tue Aug 10 2021 - 16:59:51 EST


Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> wrote:

> Transform page_mkclean() into folio_mkclean() and add a page_mkclean()
> wrapper around folio_mkclean().
>
> folio_mkclean is 15 bytes smaller than page_mkclean, but the kernel
> is enlarged by 33 bytes due to inlining page_folio() into each caller.
> This will go away once the callers are converted to use folio_mkclean().
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Reviewed-by: David Howells <dhowells@xxxxxxxxxx>