]> Git Repo - linux.git/commit - mm/swap.c
mm: add is_huge_zero_folio()
authorMatthew Wilcox (Oracle) <[email protected]>
Tue, 26 Mar 2024 20:28:22 +0000 (20:28 +0000)
committerAndrew Morton <[email protected]>
Fri, 26 Apr 2024 03:56:18 +0000 (20:56 -0700)
commit5beaee54a324ba1fe307e341ec825d5d099f4091
treeec2b731c12b16589ccad98101de58594805006f2
parent4d30eac3744d195ac43fbc36117d1e5de447b1ca
mm: add is_huge_zero_folio()

This is the folio equivalent of is_huge_zero_page().  It doesn't add any
efficiency, but it does prevent the caller from passing a tail page and
getting confused when the predicate returns false.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
fs/proc/page.c
include/linux/huge_mm.h
mm/huge_memory.c
mm/mempolicy.c
mm/swap.c
mm/swap_state.c
mm/userfaultfd.c
This page took 0.059266 seconds and 4 git commands to generate.