I also did fast code review....and I also found no indication of page locking functions inside get_user_pages() (or at least 2-3 function call deep ). However, I saw this in prep_new_page() (mm/page_alloc.c):For each page I get the information that it is not locked. I also looked at the source code of get_user_pages() (Kernel 2.6.18) and couldn't find any code that seems to lock the pages, but I'm not familiar with the code, so maybe I'm mistaken.
So, does get_user_pages() lock the pages?
-- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ