Re: [PATCH] arm64/mm: Drop HAVE_ARCH_PFN_VALID

From
Catalin Marinas <catalin.marinas@arm.com>
Date
2021-05-27 17:49:22
Also in
linux-mm, lkml
Reply to
Anshuman Khandual, 2021-05-25
On Tue, May 25, 2021 at 06:25:49PM +0530, Anshuman Khandual wrote:
CONFIG_SPARSEMEM_VMEMMAP is now the only available memory model on arm64
platforms and free_unused_memmap() would just return without creating any
holes in the memmap mapping. There is no need for any special handling in
pfn_valid() and HAVE_ARCH_PFN_VALID can just be dropped. This also moves
the pfn upper bits sanity check into generic pfn_valid().

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: David Hildenbrand <redacted>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: <redacted>
Cc: <redacted>
Cc: <redacted>
Acked-by: Mike Rapoport <redacted>
Acked-by: David Hildenbrand <redacted>
Signed-off-by: Anshuman Khandual <redacted>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (2 messages) 2 messages, 2 authors, last reply 2021-05-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help