]> 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)
commitd4b4084ac3154c51ff5fa71f669264cc44429be2
treeac1e9f69bf20307b6e315ed70ca1b4aab3c50c0c
parente0cd5e7ffa549487cf1a85452f371274cbf0a8f1
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