Hello... > mlock() makes user pages nonswappable. But it needs root privileges > to do so. Damn right you are! I misunderstood the concept of not reserving swap space. Yes, I do know that a VMA needs to be set as VM_LOCKED to prevent it being swapped out, but I failed to pick the correct syscall to do so. Thanks for correcting me.. regards, Mulyadi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/