Home
last modified time | relevance | path

Searched refs:mlock_fixup (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/mm/
Dmlock.c404 static int mlock_fixup(struct vm_area_struct *vma, struct vm_area_struct **prev, in mlock_fixup() function
501 error = mlock_fixup(vma, &prev, nstart, tmp, newflags); in apply_vma_lock_flags()
689 mlock_fixup(vma, &prev, vma->vm_start, vma->vm_end, newflags); in apply_mlockall_flags()
/Linux-v6.1/Documentation/mm/
Dunevictable-lru.rst288 mlock(), mlock2() and mlockall() system call handlers proceed to mlock_fixup()
290 this is the entire active address space of the task. Note that mlock_fixup()
293 treated as a no-op and mlock_fixup() simply returns.
296 below, mlock_fixup() will attempt to merge the VMA with its neighbors or split
337 mlock_fixup() filters several classes of "special" VMAs:
357 Note that for all of these special VMAs, mlock_fixup() does not set the
359 munlock(), munmap() or task exit. Neither does mlock_fixup() account these
367 mlock_fixup() function as mlock(), mlock2() and mlockall() system calls are.
368 If called to munlock an already munlocked VMA, mlock_fixup() simply returns.
372 If the VMA is VM_LOCKED, mlock_fixup() again attempts to merge or split off the