mm/huge_memory: convert split_huge_pages_in_file() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 19 Oct 2022 18:33:29 +0000 (19:33 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 9 Nov 2022 01:37:18 +0000 (17:37 -0800)
commit9ee2c086271639d82ad8f6e96b91fa7991800c0a
tree8b67d98eddf2f151b96de15b879bf6e743a1217d
parente025ab842ec35225b1a8e163d1f311beb9e38ce9
mm/huge_memory: convert split_huge_pages_in_file() to use a folio

Patch series "Remove FGP_HEAD flag".

We have just two users left of the FGP_HEAD flag and both of them are
better off; sometimes startlingly so as a result of conversion to use
folios.

This patch (of 4):

Removes a number of calls to compound_head() and a call to
pagecache_get_page().

Link: https://lkml.kernel.org/r/20221019183332.2802139-1-willy@infradead.org
Link: https://lkml.kernel.org/r/20221019183332.2802139-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c