[openib-general] get_user_pages() vs. sys_mlock() and 2.6 kernel

Timur Tabi timur.tabi at ammasso.com
Tue Aug 31 15:35:29 PDT 2004


What is the reason that sys_mlock() is used instead of get_user_pages()? 
  I know the sys_mlock() is used because other methods of locking pages 
didn't really lock the pages (i.e. there were still situations where the 
page would be swapped out).  Doe get_user_pages() have that problem 
also?  If so, has any checked to see if it's been fixed in the 2.6 kernel?

-- 
Timur Tabi
Staff Software Engineer
timur.tabi at ammasso.com



More information about the general mailing list