On Thu, 09 May 2013 22:25:54 +0530, Buland Kumar Singh said: > Is there a kernel routine ( not a system call ) that a kernel module can call to "lock" > all of the pages of a particular VMA of a user process that is using the driver ? What are you trying to accomplish here? And why isn't using mlock() from the userspace program an option? Also, remember that a vma can change in size. If it increases, something will need to lock the newly added pages. (There's a good chance that locking the pages isn't really what you wanted, and there's some other way to achieve whatever goal you're chasing here)
Attachment:
pgp74VaXOlfGQ.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies