lkml.org 
[lkml]   [2010]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] proc: pagemap: Hold mmap_sem during page walk
Date
> So there is a very real reason for that pattern existing. It's just that 
> that reason has nothing to do with locking the thing into the page tables.
> That is absolutely NOT guaranteed by the get_user_pages() physical page
> pinning (munmap() is an extreme example of this, but I think swapout will
> clear it too in try_to_unmap_one().

Right. To increment page->count only affect vmscan to prevent free page.
Not prevent pageout I/O nor page unmapping from a process.

Thanks.




\
 
 \ /
  Last update: 2010-04-01 04:13    [from the cache]
©2003-2011 Jasper Spaans