On Sat, May 14, 2016 at 12:07:51PM +0200, Maxime Villard wrote: > Yes, other architectures should take a hint from this. In fact, as NXR > points > out, almost all architectures map rodata with RX.
Indeed. And additionally I somehow assumed .rodata would be tiny comapred to .text - but looking at sizes in actual kernels I see it is really huge (big enough to benefit from 1Mb pages on amd64; not quite big enough for 4Mb pages on sparc64). I wonder how much of that is driver specific firmware that is never going to be needed on my machine - I should use more modular kernels maybe. Martin
