Re: [PATCH v3 04/11] arm64/mm: Add set_memory_device() and set_memory_normal()

From: Mike Rapoport

Date: Tue Jul 07 2026 - 09:53:03 EST


On Tue, Jul 07, 2026 at 02:17:29PM +0100, Robin Murphy wrote:
>
> Given the precedent of memblock_mark_nomap(), as long as the reusable
> reserved-memory regions also get split into distinct memblocks, then it
> seems like in principle we ought to be able to give them a new
> MEMBLOCK_PTEMAP (or whatever) flag which could then be picked up in
> map_mem() without needing to override force_pte_mapping() globally?

Please don't. _nomap() caused enough pain.

> Cheers,
> Robin.

--
Sincerely yours,
Mike.