]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/rmap: Add folio_mkclean()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 28 Feb 2021 21:02:57 +0000 (16:02 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 14 Aug 2021 21:44:52 +0000 (17:44 -0400)
commit0d48d295865e4081a11d61285c1efe1bc9f24914
tree0f4228e9f768e98ba2cb9ea9ac913416ab80a7fc
parent8b9b282a54a8dff1dcf8cc36a8bf4dcbad04eb33
mm/rmap: Add folio_mkclean()

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@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/rmap.h
mm/rmap.c