linux-yocto/arch/sparc/mm
Guo Weikang c6f239796b mm/memblock: add memblock_alloc_or_panic interface
Before SLUB initialization, various subsystems used memblock_alloc to
allocate memory.  In most cases, when memory allocation fails, an
immediate panic is required.  To simplify this behavior and reduce
repetitive checks, introduce `memblock_alloc_or_panic`.  This function
ensures that memory allocation failures result in a panic automatically,
improving code readability and consistency across subsystems that require
this behavior.

[guoweikang.kernel@gmail.com: arch/s390: save_area_alloc default failure behavior changed to panic]
  Link: https://lkml.kernel.org/r/20250109033136.2845676-1-guoweikang.kernel@gmail.com
  Link: https://lore.kernel.org/lkml/Z2fknmnNtiZbCc7x@kernel.org/
Link: https://lkml.kernel.org/r/20250102072528.650926-1-guoweikang.kernel@gmail.com
Signed-off-by: Guo Weikang <guoweikang.kernel@gmail.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>	[m68k]
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>	[s390]
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-01-25 20:22:38 -08:00
..
execmem.c arch: make execmem setup available regardless of CONFIG_MODULES 2024-05-14 00:31:44 -07:00
fault_32.c sparc32: fix lock_mm_and_find_vma() conversion 2023-06-29 20:41:24 -07:00
fault_64.c Merge branch 'expand-stack' 2023-06-28 20:35:21 -07:00
hugetlbpage.c mm: drop hugetlb_get_unmapped_area{_*} functions 2024-11-06 20:11:10 -08:00
hypersparc.S
init_32.c sparc32: implement the new page table range API 2023-08-24 16:20:23 -07:00
init_64.c mm: pgtable: introduce pagetable_dtor() 2025-01-25 20:22:22 -08:00
init_64.h
io-unit.c sparc: Explicitly include correct DT includes 2023-08-28 13:30:57 -05:00
iommu.c sparc: Explicitly include correct DT includes 2023-08-28 13:30:57 -05:00
leon_mm.c arch/sparc: remove unused varible paddrbase in function leon_swprobe() 2024-09-13 20:12:11 +02:00
Makefile arch: make execmem setup available regardless of CONFIG_MODULES 2024-05-14 00:31:44 -07:00
mm_32.h
srmmu_access.S
srmmu.c mm/memblock: add memblock_alloc_or_panic interface 2025-01-25 20:22:38 -08:00
swift.S
tlb.c mm: fix race between __split_huge_pmd_locked() and GUP-fast 2024-05-07 10:37:00 -07:00
tsb.c sparc: Fix typos 2024-02-16 16:50:25 +01:00
tsunami.S
ultra.S
viking.S