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.
495 munlock the pages if we're removing the last VM_LOCKED VMA that maps the pages.
506 munlock_vma_pages_all() clears the VM_LOCKED VMA flag and, like mlock_fixup()
510 VM_LOCKED VMA that maps the page.
517 have VM_LOCKED flag set. It is possible for a page mapped into one or more
518 VM_LOCKED VMAs not to have the PG_mlocked flag set and therefore reside on one
523 try_to_unmap() checks for VM_LOCKED VMAs while it is walking a page's reverse
534 must be visited - at least until a VM_LOCKED VMA is encountered. If the
535 page is being unmapped for migration, VM_LOCKED VMAs do not stop the
537 the page is mapped into a VM_LOCKED VMA, the scan stops.
557 As for anonymous pages, on encountering a VM_LOCKED VMA for a mapped file
566 whether the page is mapped in a VM_LOCKED VMA. Again, the scan must visit
570 If a VM_LOCKED VMA is found in the list, the scan could terminate.
573 VM_LOCKED VMA actually pins the page.
587 If this attempt is successful and the VMA is VM_LOCKED,
603 returns SWAP_AGAIN, indicating that the page is mapped by a VM_LOCKED
615 the page is mapped by any VM_LOCKED VMA without actually attempting to unmap
622 for VM_LOCKED VMAs. When such a VMA is found for anonymous pages and file
628 If try_to_unmap() is unable to acquire a VM_LOCKED VMA's associated mmap
634 slightly differently. On encountering a VM_LOCKED non-linear VMA that might
640 reverse map to determine that a page is NOT mapped into any VM_LOCKED VMA.
641 However, the scan can terminate when it encounters a VM_LOCKED VMA and can
670 (4) Pages mapped into multiple VM_LOCKED VMAs, but try_to_munlock() couldn't
680 into VM_LOCKED VMAs that munlock_vma_page() couldn't isolate from the LRU to
686 VM_LOCKED VMAs but without PG_mlocked set will make it all the way to