]> git.ipfire.org Git - thirdparty/linux.git/commit - mm/rmap.c
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>
Mon, 18 Oct 2021 11:49:39 +0000 (07:49 -0400)
commitd9c08e2232fbca4fa56b9350f7f84835c4aa3add
tree0d02fe92c7891f69cbc724732f2e1e43b3d64cf4
parent76580b6529db622964b4ffee59ded25efcb73748
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