mirror of https://github.com/mkerrisk/man-pages
mlock.2: Minor tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9e5de5dac4
commit
9f1eb9e08d
|
@ -42,16 +42,18 @@ mlock, mlock2, munlock, mlockall, munlockall \- lock and unlock memory
|
|||
.BR mlock2 (),
|
||||
and
|
||||
.BR mlockall ()
|
||||
respectively lock part or all of the calling process's virtual address
|
||||
lock part or all of the calling process's virtual address
|
||||
space into RAM, preventing that memory from being paged to the
|
||||
swap area.
|
||||
|
||||
.BR munlock ()
|
||||
and
|
||||
.BR munlockall ()
|
||||
perform the converse operation,
|
||||
respectively unlocking part or all of the calling process's virtual
|
||||
unlocking part or all of the calling process's virtual
|
||||
address space, so that pages in the specified virtual address range may
|
||||
once more to be swapped out if required by the kernel memory manager.
|
||||
|
||||
Memory locking and unlocking are performed in units of whole pages.
|
||||
.SS mlock(), mlock2(), and munlock()
|
||||
.BR mlock ()
|
||||
|
|
Loading…
Reference in New Issue