[RFC PATCH 0/3] arm64: relocatable kernel proof of concept

Mark Rutland mark.rutland at arm.com
Tue Mar 17 09:43:53 PDT 2015


> > Also, if you use DEBUG_RODATA the kernel won't be mapped with 1GB
> > mappings after early boot anyway.
> >
> 
> That's not the point. The point is that, since physical memory starts
> at the base of the kernel image, as far as the kernel is concerned,
> the relative alignment of the virtual and physical address spaces may
> result in *all* of memory being mapped using 2 MB sections rather than
> 1 GB blocks.

Ah. Good point.

Another reason to split the text and linear mappings ;)

Mark.



More information about the linux-arm-kernel mailing list