[lkml]   [2010]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] proc: pagemap: Hold mmap_sem during page walk
> 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.


 \ /
  Last update: 2010-04-01 04:13    [W:0.074 / U:0.684 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site