quoted
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.