linux/arch
Matthew Wilcox (Oracle) 4d30eac374 sparc: use is_huge_zero_pmd()
Patch series "Convert huge_zero_page to huge_zero_folio".

Almost all the callers of is_huge_zero_page() already have a folio.  And
they should -- is_huge_zero_page() will return false for tail pages, even
if they're tail pages of the huge zero page.  That's confusing, and one of
the benefits of the folio conversion is to get rid of this confusion.


This patch (of 8):

There's no need to convert to a page, much less a folio.  We can tell from
the pmd whether it is a huge zero page or not.  Saves 60 bytes of text.

Link: https://lkml.kernel.org/r/20240326202833.523759-1-willy@infradead.org
Link: https://lkml.kernel.org/r/20240326202833.523759-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-04-25 20:56:18 -07:00
..
alpha change alloc_pages name in dma_map_ops to avoid name conflicts 2024-04-25 20:55:53 -07:00
arc fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
arm mm: convert arch_clear_hugepage_flags to take a folio 2024-04-25 20:56:15 -07:00
arm64 mm: convert arch_clear_hugepage_flags to take a folio 2024-04-25 20:56:15 -07:00
csky - Sumanth Korikkar has taught s390 to allocate hotplug-time page frames 2024-03-14 17:43:30 -07:00
hexagon hexagon: vmlinux.lds.S: handle attributes section 2024-03-26 11:07:23 -07:00
loongarch fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
m68k TTY/Serial driver update for 6.9-rc1 2024-03-21 12:44:10 -07:00
microblaze arch: define CONFIG_PAGE_SIZE_*KB on all architectures 2024-03-06 19:29:09 +01:00
mips change alloc_pages name in dma_map_ops to avoid name conflicts 2024-04-25 20:55:53 -07:00
nios2 nios2: Only use built-in devicetree blob if configured to do so 2024-04-03 14:35:53 -05:00
openrisc OpenRISC updates for 6.9 2024-03-14 15:53:10 -07:00
parisc mm/treewide: remove pXd_huge() 2024-04-25 20:55:47 -07:00
powerpc mm/mm_init.c: remove arch_reserved_kernel_pages() 2024-04-25 20:56:11 -07:00
riscv mm: convert arch_clear_hugepage_flags to take a folio 2024-04-25 20:56:15 -07:00
s390 mm: convert arch_clear_hugepage_flags to take a folio 2024-04-25 20:56:15 -07:00
sh mm: convert arch_clear_hugepage_flags to take a folio 2024-04-25 20:56:15 -07:00
sparc sparc: use is_huge_zero_pmd() 2024-04-25 20:56:18 -07:00
um mm: vmalloc: enable memory allocation profiling 2024-04-25 20:55:57 -07:00
x86 mm: move follow_phys to arch/x86/mm/pat/memtype.c 2024-04-25 20:56:12 -07:00
xtensa xtensa: remove uses of PG_arch_1 on individual pages 2024-04-25 20:56:13 -07:00
.gitignore
Kconfig Kconfig: add some hidden tabs on purpose 2024-04-12 10:05:10 -07:00