Jan Hudec wrote:
No. That's wrong. You need to lock_kiobuf, just like direct read and write do.
The kiobuf functions are now all deprecated - they don't exist in 2.6.
Besides, what's wrong with sys_mlock()?
-- Timur Tabi Staff Software Engineer timur.tabi@ammasso.com
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/