Lines Matching refs:VM_LOCKED

49  * Those mapped into VM_LOCKED [mlock()ed] VMAs.
179 faulted into a VM_LOCKED vma, or found in a vma being VM_LOCKED.
195 There may be situations where a page is mapped into a VM_LOCKED VMA, but the
230 of VM_LOCKED VMAs that map the page. This use of the link field for a count
236 attempting to isolate them, thus abandoning the count of VM_LOCKED VMAs. When
238 replaced by walking the reverse map to determine whether any VM_LOCKED VMAs
245 mlocked pages - pages mapped into a VM_LOCKED VMA - are a class of unevictable
262 and when a VM_LOCKED stack segment is expanded; or
265 reclaim a page in a VM_LOCKED VMA via try_to_unmap()
267 all of which result in the VM_LOCKED flag being set for the VMA if it doesn't
274 (2) munmap()'d out of the last VM_LOCKED VMA that maps the page, including
277 (3) when the page is truncated from the last VM_LOCKED VMA of an mmapped file;
280 (4) before a page is COW'd in a VM_LOCKED VMA.
290 an already VM_LOCKED VMA, or to munlock() a VMA that is not VM_LOCKED is
302 do end up getting faulted into this VM_LOCKED VMA, we'll handle them in the
310 In the worst case, this will result in a page mapped in a VM_LOCKED VMA
354 VM_LOCKED flag. Therefore, we won't have to deal with them later during
368 VM_LOCKED will not be set in any "special" VMAs. So, these VMAs will be
371 If the VMA is VM_LOCKED, mlock_fixup() again attempts to merge or split off the
390 the page is mapped by other VM_LOCKED VMAs.
393 check for other VM_LOCKED VMAs, without first isolating the page from the LRU.
455 PMD on border of VM_LOCKED VMA will be split into PTE table.
458 page will be split, subpages which belong to VM_LOCKED VMAs will be moved
499 munlock the pages if we're removing the last VM_LOCKED VMA that maps the pages.
510 munlock_vma_pages_all() clears the VM_LOCKED VMA flag and, like mlock_fixup()
514 VM_LOCKED VMA that maps the page.
521 have VM_LOCKED flag set. It is possible for a page mapped into one or more
522 VM_LOCKED VMAs not to have the PG_mlocked flag set and therefore reside on one
527 try_to_unmap() checks for VM_LOCKED VMAs while it is walking a page's reverse
537 When trying to reclaim, if try_to_unmap_one() finds the page in a VM_LOCKED
554 VM_LOCKED VMA without actually attempting to unmap all PTEs from the
558 page_mlock() walks the respective reverse maps looking for VM_LOCKED VMAs. When
563 reverse map to determine that a page is NOT mapped into any VM_LOCKED VMA.
564 However, the scan can terminate when it encounters a VM_LOCKED VMA.
597 into VM_LOCKED VMAs that munlock_vma_page() couldn't isolate from the LRU to
603 VM_LOCKED VMAs but without PG_mlocked set will make it all the way to