mm: Turn can_split_huge_page() into can_split_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 4 Feb 2022 19:13:31 +0000 (14:13 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 1 Mar 2022 02:01:35 +0000 (21:01 -0500)
commit80ef527bf9291815730c3d9a7773dfc3f9a9c251
treea9fd5c289c561f52c083b3021c0281b41629d791
parent6875d1dd2e6ec003033b8991fa5b266cc4afe5e0
mm: Turn can_split_huge_page() into can_split_folio()

This function already required a head page to be passed, so this
just adds type-safety and removes a few implicit calls to
compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/linux/huge_mm.h
mm/huge_memory.c
mm/vmscan.c