[PATCH] arm64: mm: Reserve enough pages for the initial ID map
Will Deacon
will at kernel.org
Thu Sep 1 06:06:31 PDT 2022
On Fri, 26 Aug 2022 18:48:00 +0200, Ard Biesheuvel wrote:
> The logic that conditionally allocates one additional page at each
> swapper page table level if KASLR is enabled is also applied to the
> initial ID map, now that we have started using the same set of macros
> to allocate the space for it.
>
> However, the placement of the kernel in physical memory might result in
> additional pages being needed at any level, even if KASLR is disabled in
> the build. So account for this in the computation.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: mm: Reserve enough pages for the initial ID map
https://git.kernel.org/arm64/c/5fbc49cef919
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list