]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Mon, 21 Mar 2022 17:01:35 +0000 (13:01 -0400)
commitf77aba7455fb68f8a9fa6f3aa4c45c6dab8c28d5
treeac1e9f69bf20307b6e315ed70ca1b4aab3c50c0c
parentf026ce1e123cff4bb0b04c49d3c35d24fcf06cdd
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