Question: how to make one page readonly on ARM

Arnd Bergmann arnd at
Wed Feb 29 09:10:51 EST 2012

On Friday 17 February 2012, 晁永生 wrote:
> I just want to alloc some readonly pages to detect memory corruption.
> is it workable?

You could add a set_memory_ro function, but that will depend on another
patch to change the kernel mapping to 4k pages.

It's certainly possible to do, but will be a significant amount of work.


More information about the linux-arm-kernel mailing list