[PATCH 3/4] arm64: move kernel text below PAGE_OFFSET

Catalin Marinas catalin.marinas at arm.com
Wed Mar 25 07:10:29 PDT 2015


On Mon, Mar 23, 2015 at 04:36:55PM +0100, Ard Biesheuvel wrote:
> This moves the virtual mapping of the kernel Image down into
> the lower half of the kernel virtual memory range, moving it
> out of the linear mapping.

I wonder whether there would be better code generation with the kernel
address very high, like the top 64MB. Anyway, having it higher allows us
to check some top bits of the address and detect whether it's kernel
text or linear mapping.

-- 
Catalin




More information about the linux-arm-kernel mailing list