Is it possible to do some kind of page locking or pinning from application, so that kernel doesn't swap out the page as long as application is alive? For example, I want a global variable's address to be valid in kernel (here validity only means the page corresponding to user space virtual address to be present). -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/