Subject: Re: [PATCH] arm64: Force SPARSEMEM_VMEMMAP as the only memory management model

From: Marc Zyngier <[email-masked]>
Date: Tue, 20 Apr 2021 11:47:31 +0100

On Tue, 20 Apr 2021 10:35:59 +0100,
Catalin Marinas <[email-masked]> wrote:
> 
> Currently arm64 allows a choice of FLATMEM, SPARSEMEM and
> SPARSEMEM_VMEMMAP. However, only the latter is tested regularly. FLATMEM
> does not seem to boot in certain configurations (guest under KVM with
> Qemu as a VMM). Since the reduction of the SECTION_SIZE_BITS to 27 (4K
> pages) or 29 (64K page), there's little argument against the memory
> wasted by the mem_map array with SPARSEMEM.
> 
> Make SPARSEMEM_VMEMMAP the only available option, non-selectable, and
> remove the corresponding #ifdefs under arch/arm64/.
> 
> Signed-off-by: Catalin Marinas <[email-masked]>
> Cc: Will Deacon <[email-masked]>

Acked-by: Marc Zyngier <[email-masked]>

	M.

-- 
Without deviation from the norm, progress is not possible.

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel