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