Thread (31 messages) flat view 31 messages, 6 authors, 14d ago

Re: [PATCH v9 01/10] memblock: Introduce MEMBLOCK_LLMAP

From: Mike Rapoport <rppt@kernel.org>
Date: 2026-09-08 07:40:41
Also in: linux-arm-kernel, linux-mm, lkml, op-tee

On Mon, Sep 07, 2026 at 10:50:12AM +0100, Vincent Donnefort wrote:
On Sun, Sep 06, 2026 at 10:33:11PM +0300, Mike Rapoport wrote:
quoted
On Wed, Sep 02, 2026 at 11:47:03AM +0100, Vincent Donnefort wrote:
quoted
Keeping last-level mappings is interesting on some architectures as it
allows mapping/unmapping pages from the kernel direct map without the
risk of splitting blocks which, under the break-before-make rule, may
trigger page-faults the kernel can't handle.

However, mapping the entire direct map at PTE-level is costly. So
instead, create a new memblock flag MEMBLOCK_LLMAP to enable the system
I believe MEMBLOCK_PTE_MAP sounds more descriptive.
The idea was to have something close from NOMAP, to emphasis it is one or the
other. But PTE_MAP sounds good too.
Could be PTEMAP if you prefer.
My point was that unlike PTE, "LL" is not perceived as last-level, it
should be looked up.
 
quoted
quoted
to decide which region must be covered by mappings up to the last-level.

Signed-off-by: Vincent Donnefort <redacted>
-- 
Vincent
-- 
Sincerely yours,
Mike.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help