Lines Matching refs:VM_LOCKED
49 * Those mapped into VM_LOCKED [mlock()ed] VMAs.
181 faulted into a VM_LOCKED vma, or found in a vma being VM_LOCKED.
197 There may be situations where a page is mapped into a VM_LOCKED VMA, but the
232 of VM_LOCKED VMAs that map the page. This use of the link field for a count
238 attempting to isolate them, thus abandoning the count of VM_LOCKED VMAs. When
240 replaced by walking the reverse map to determine whether any VM_LOCKED VMAs
247 mlocked pages - pages mapped into a VM_LOCKED VMA - are a class of unevictable
264 and when a VM_LOCKED stack segment is expanded; or
267 reclaim a page in a VM_LOCKED VMA via try_to_unmap()
269 all of which result in the VM_LOCKED flag being set for the VMA if it doesn't
276 (2) munmap()'d out of the last VM_LOCKED VMA that maps the page, including
279 (3) when the page is truncated from the last VM_LOCKED VMA of an mmapped file;
282 (4) before a page is COW'd in a VM_LOCKED VMA.
292 an already VM_LOCKED VMA, or to munlock() a VMA that is not VM_LOCKED is
304 do end up getting faulted into this VM_LOCKED VMA, we'll handle them in the
312 In the worst case, this will result in a page mapped in a VM_LOCKED VMA
356 VM_LOCKED flag. Therefore, we won't have to deal with them later during
370 VM_LOCKED will not be set in any "special" VMAs. So, these VMAs will be
373 If the VMA is VM_LOCKED, mlock_fixup() again attempts to merge or split off the
392 the page is mapped by other VM_LOCKED VMAs.
395 check for other VM_LOCKED VMAs, without first isolating the page from the LRU.
457 PMD on border of VM_LOCKED VMA will be split into PTE table.
460 page will be split, subpages which belong to VM_LOCKED VMAs will be moved
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
560 VM_LOCKED VMA without actually attempting to unmap all PTEs from the
567 for VM_LOCKED VMAs. When such a VMA is found, as in the try_to_unmap() case,
572 reverse map to determine that a page is NOT mapped into any VM_LOCKED VMA.
573 However, the scan can terminate when it encounters a VM_LOCKED VMA.
606 into VM_LOCKED VMAs that munlock_vma_page() couldn't isolate from the LRU to
612 VM_LOCKED VMAs but without PG_mlocked set will make it all the way to