Lines Matching refs:VM_LOCKED
73 (*) Those mapped into VM_LOCKED [mlock()ed] VMAs.
202 faulted into a VM_LOCKED vma, or found in a vma being VM_LOCKED.
218 There may be situations where a page is mapped into a VM_LOCKED VMA, but the
254 of VM_LOCKED VMAs that map the page. This use of the link field for a count
260 attempting to isolate them, thus abandoning the count of VM_LOCKED VMAs. When
262 replaced by walking the reverse map to determine whether any VM_LOCKED VMAs
269 mlocked pages - pages mapped into a VM_LOCKED VMA - are a class of unevictable
286 and when a VM_LOCKED stack segment is expanded; or
289 reclaim a page in a VM_LOCKED VMA via try_to_unmap()
291 all of which result in the VM_LOCKED flag being set for the VMA if it doesn't
298 (2) munmap()'d out of the last VM_LOCKED VMA that maps the page, including
301 (3) when the page is truncated from the last VM_LOCKED VMA of an mmapped file;
304 (4) before a page is COW'd in a VM_LOCKED VMA.
314 an already VM_LOCKED VMA, or to munlock() a VMA that is not VM_LOCKED is
326 do end up getting faulted into this VM_LOCKED VMA, we'll handle them in the
334 In the worst case, this will result in a page mapped in a VM_LOCKED VMA
378 VM_LOCKED flag. Therefore, we won't have to deal with them later during
391 VM_LOCKED will not be set in any "special" VMAs. So, these VMAs will be
394 If the VMA is VM_LOCKED, mlock_fixup() again attempts to merge or split off the
413 the page is mapped by other VM_LOCKED VMAs.
416 check for other VM_LOCKED VMAs, without first isolating the page from the LRU.
501 munlock the pages if we're removing the last VM_LOCKED VMA that maps the pages.
512 munlock_vma_pages_all() clears the VM_LOCKED VMA flag and, like mlock_fixup()
516 VM_LOCKED VMA that maps the page.
523 have VM_LOCKED flag set. It is possible for a page mapped into one or more
524 VM_LOCKED VMAs not to have the PG_mlocked flag set and therefore reside on one
529 try_to_unmap() checks for VM_LOCKED VMAs while it is walking a page's reverse
539 When trying to reclaim, if try_to_unmap_one() finds the page in a VM_LOCKED
558 the page is mapped by any VM_LOCKED VMA without actually attempting to unmap
565 for VM_LOCKED VMAs. When such a VMA is found, as in the try_to_unmap() case,
570 reverse map to determine that a page is NOT mapped into any VM_LOCKED VMA.
571 However, the scan can terminate when it encounters a VM_LOCKED VMA.
604 into VM_LOCKED VMAs that munlock_vma_page() couldn't isolate from the LRU to
610 VM_LOCKED VMAs but without PG_mlocked set will make it all the way to