Lines Matching refs:we
93 (1) We get to "treat unevictable pages just like we treat other pages in the
94 system - which means we get to use the same code to manipulate them, the
101 lists. If we were to maintain pages elsewhere than on an LRU-like list,
102 where they can be found by isolate_lru_page(), we would prevent their
103 migration, unless we reworked migration code to find the unevictable pages
211 from the unevictable list. However, there may be situations where we decide,
326 do end up getting faulted into this VM_LOCKED VMA, we'll handle them in the
330 migrated out from under us, while we're trying to mlock it. To detect this,
332 If the page is still associated with its mapping, we'll go ahead and call
333 mlock_vma_page(). If the mapping is gone, we just unlock the page and move on.
340 be mlocked by another task/VMA and we don't want to do extra work. We
360 these mappings are inherently pinned, so we don't need to mark them as
378 VM_LOCKED flag. Therefore, we won't have to deal with them later during
401 these pages for munlocking. Because we don't want to leave pages mlocked,
412 mlocked pages. Note, however, that at this point we haven't checked whether
419 isolate_lru_page() could fail, in which case we couldn't try_to_munlock(). So,
420 we go ahead and clear PG_mlocked up front, as this might be the only chance we
421 have. If we can successfully isolate the page, we go ahead and
423 page statistics if it finds another VMA holding the page mlocked. If we fail
424 to isolate the page, we'll have left a potentially mlocked page on the LRU.
425 This is fine, because we'll catch it later if and if vmscan tries to reclaim
446 To complete page migration, we place the new and old pages back onto the LRU
449 process is released. To ensure that we don't strand pages on the unevictable
491 attempting to fault in a VMA with PROT_NONE access. In this case, we leave the
500 munmap() or via an internal unmap from exit() or exec() processing, we must
501 munlock the pages if we're removing the last VM_LOCKED VMA that maps the pages.