Lines Matching refs:mlock
17 (*) mlock()'d pages.
21 - mlock()/mlockall() system call handling.
73 (*) Those mapped into VM_LOCKED [mlock()ed] VMAs.
189 the page tables for the region as does, for example, mlock(), nor need it make
209 list at mlock() or mmap() time, vmscan will not encounter the pages until they
240 The unevictable page list is also useful for mlock(), in addition to ramfs and
241 SYSV SHM. Note that mlock() is only available in CONFIG_MMU=y situations; in
277 (1) in the mlock()/mlockall() system call handlers;
307 mlock()/mlockall() SYSTEM CALL HANDLING
310 Both [do_]mlock() and [do_]mlockall() system call handlers call mlock_fixup()
313 is used for both mlocking and munlocking a range of memory. A call to mlock()
330 migrated out from under us, while we're trying to mlock it. To detect this,
366 neither need nor want to mlock() these pages. However, to preserve the
367 prior behavior of mlock() - before the unevictable/mlock changes -
387 do_mlock[all]() - as the mlock() and mlockall() system calls with the unlock vs
396 populate_vma_page_range() - the same function used to mlock a VMA range -
440 This has been discussed from the mlock/munlock perspective in the respective
468 In addition the mlock()/mlockall() system calls, an application can request
470 call. There is one important and subtle difference here, though. mmap() + mlock()
478 in the newly mapped memory being mlocked. Before the unevictable/mlock
482 To mlock a range of memory under the unevictable/mlock infrastructure, the
484 populate_vma_page_range() specifying the vma and the address range to mlock.
502 Before the unevictable/mlock changes, mlocking did not mark the pages in any
505 To munlock a range of memory under the unevictable/mlock infrastructure, the
540 VMA, it will then mlock the page via mlock_vma_page() instead of unmapping it,
545 to the page lock, and the rmap lock): to serialize against concurrent mlock or
559 all PTEs from the page. For this purpose, the unevictable/mlock infrastructure
566 the functions mlock the page via mlock_vma_page() and return SWAP_MLOCK. This