[PATCH 2/2] arm64: Mark kernel page ranges contiguous

Mark Rutland mark.rutland at arm.com
Fri Feb 12 10:11:02 PST 2016


On Fri, Feb 12, 2016 at 12:09:41PM -0600, Jeremy Linton wrote:
> On 02/12/2016 11:58 AM, Mark Rutland wrote:
> 
> (trimming)
> 
> >All create_mapping_late() calls should be performed with the same
> >physical/virtual start/end as earlier "chunk" mappings, and thus should
> >never result in a fuse/split or translation change -- only permission
> >changes (which we believe do not result in TLB conflicts, or we'd need
> >to do far more work to fix those up).
> >
> >If we split/fuse in any case other than EFI runtime table creation, that
> >is a bug that we need to fix. If you're seeing a case we do that, then
> >please let me know!
> 
> We are saying the same thing, and right now the biggest violator is
> probably the .rodata patch I just posted!

Ok, phew!

The simple fix is to make .text and .rodata separate "chunks", then it
all falls out in the wash.

Mark.



More information about the linux-arm-kernel mailing list