Thread (34 messages) 34 messages, 6 authors, 2025-04-03

Re: [PATCH v4 0/4] arm64: drop pfn_valid_within() and simplify pfn_valid()

From: Kefeng Wang <hidden>
Date: 2021-05-12 03:13:34
Also in: kvmarm, linux-mm, lkml


On 2021/5/11 18:05, Mike Rapoport wrote:
From: Mike Rapoport <redacted>

Hi,

These patches aim to remove CONFIG_HOLES_IN_ZONE and essentially hardwire
pfn_valid_within() to 1.

The idea is to mark NOMAP pages as reserved in the memory map and restore
the intended semantics of pfn_valid() to designate availability of struct
page for a pfn.

With this the core mm will be able to cope with the fact that it cannot use
NOMAP pages and the holes created by NOMAP ranges within MAX_ORDER blocks
will be treated correctly even without the need for pfn_valid_within.

The patches are boot tested on qemu-system-aarch64.

I beleive it would be best to route these via mmotm tree.
Reviewed-by: Kefeng Wang <redacted>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help