Lines Matching refs:VM_LOCKED
49 * Those mapped into VM_LOCKED [mlock()ed] VMAs.
185 faulted into a VM_LOCKED vma, or found in a vma being VM_LOCKED.
201 There may be situations where a page is mapped into a VM_LOCKED VMA, but the
236 of VM_LOCKED VMAs that map the page. This use of the link field for a count
242 attempting to isolate them, thus abandoning the count of VM_LOCKED VMAs. When
244 replaced by walking the reverse map to determine whether any VM_LOCKED VMAs
251 mlocked pages - pages mapped into a VM_LOCKED VMA - are a class of unevictable
268 and when a VM_LOCKED stack segment is expanded; or
271 reclaim a page in a VM_LOCKED VMA via try_to_unmap()
273 all of which result in the VM_LOCKED flag being set for the VMA if it doesn't
280 (2) munmap()'d out of the last VM_LOCKED VMA that maps the page, including
283 (3) when the page is truncated from the last VM_LOCKED VMA of an mmapped file;
286 (4) before a page is COW'd in a VM_LOCKED VMA.
296 an already VM_LOCKED VMA, or to munlock() a VMA that is not VM_LOCKED is
308 do end up getting faulted into this VM_LOCKED VMA, we'll handle them in the
316 In the worst case, this will result in a page mapped in a VM_LOCKED VMA
360 VM_LOCKED flag. Therefore, we won't have to deal with them later during
374 VM_LOCKED will not be set in any "special" VMAs. So, these VMAs will be
377 If the VMA is VM_LOCKED, mlock_fixup() again attempts to merge or split off the
396 the page is mapped by other VM_LOCKED VMAs.
399 check for other VM_LOCKED VMAs, without first isolating the page from the LRU.
461 PMD on border of VM_LOCKED VMA will be split into PTE table.
464 page will be split, subpages which belong to VM_LOCKED VMAs will be moved
505 munlock the pages if we're removing the last VM_LOCKED VMA that maps the pages.
516 munlock_vma_pages_all() clears the VM_LOCKED VMA flag and, like mlock_fixup()
520 VM_LOCKED VMA that maps the page.
527 have VM_LOCKED flag set. It is possible for a page mapped into one or more
528 VM_LOCKED VMAs not to have the PG_mlocked flag set and therefore reside on one
533 try_to_unmap() checks for VM_LOCKED VMAs while it is walking a page's reverse
543 When trying to reclaim, if try_to_unmap_one() finds the page in a VM_LOCKED
564 VM_LOCKED VMA without actually attempting to unmap all PTEs from the
571 for VM_LOCKED VMAs. When such a VMA is found, as in the try_to_unmap() case,
576 reverse map to determine that a page is NOT mapped into any VM_LOCKED VMA.
577 However, the scan can terminate when it encounters a VM_LOCKED VMA.
610 into VM_LOCKED VMAs that munlock_vma_page() couldn't isolate from the LRU to
616 VM_LOCKED VMAs but without PG_mlocked set will make it all the way to