I'd like to mark some virtual address ranges as unusable in the kernel, too hard to explain why. I'm using the following do_mmap call to do this but it seems to die accessing address 0x100. error = do_mmap(NULL, ARMPID_TASK_SIZE - (1 << 20), PAGE_SIZE, PROT_NONE, MAP_FIXED | MAP_PRIVATE, 0); Is this the correct way to allocate an untouchable region of PAGE_SIZE at (ARMPID_TASK_SIZE - (1 << 20))? Cheers, Adam -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/