]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm: add vma_alloc_zeroed_movable_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 16 Jan 2023 19:18:09 +0000 (19:18 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 3 Feb 2023 06:33:18 +0000 (22:33 -0800)
commit6bc56a4d855303705802c5ede4625973637484c7
tree0ddb237630acc16d09cf3f9bbcf2e0c122083151
parentc5792d9384113de4085dfbce6940e2a853debb67
mm: add vma_alloc_zeroed_movable_folio()

Replace alloc_zeroed_user_highpage_movable().  The main difference is
returning a folio containing a single page instead of returning the page,
but take the opportunity to rename the function to match other allocation
functions a little better and rewrite the documentation to place more
emphasis on the zeroing rather than the highmem aspect.

Link: https://lkml.kernel.org/r/20230116191813.2145215-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/alpha/include/asm/page.h
arch/arm64/include/asm/page.h
arch/arm64/mm/fault.c
arch/ia64/include/asm/page.h
arch/m68k/include/asm/page_no.h
arch/s390/include/asm/page.h
arch/x86/include/asm/page.h
include/linux/highmem.h
mm/memory.c