Question: how to make one page readonly on ARM

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Feb 16 03:55:37 EST 2012


On Thu, Feb 16, 2012 at 12:54:27PM +0800, 晁永生 wrote:
> Hi,
> I get one page by __get_free_page and can make it readonly by
> set_memory_ro on X86,
> but how to do this on ARM?

You can't, because we map all kernel space with 1MB section mappings.



More information about the linux-arm-kernel mailing list