summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/mlock.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/mlock.2')
-rw-r--r--lib/libc/sys/mlock.214
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/sys/mlock.2 b/lib/libc/sys/mlock.2
index 313deb5..cf2ed4c 100644
--- a/lib/libc/sys/mlock.2
+++ b/lib/libc/sys/mlock.2
@@ -148,6 +148,13 @@ Some portion of the indicated address range is not allocated.
.Xr munmap 2 ,
.Xr setrlimit 2 ,
.Xr getpagesize 3
+.Sh HISTORY
+The
+.Fn mlock
+and
+.Fn munlock
+system calls first appeared in
+.Bx 4.4 .
.Sh BUGS
Allocating too much wired memory can lead to a memory-allocation deadlock
which requires a reboot to recover from.
@@ -160,10 +167,3 @@ counts as 2 pages against the per-process limit and as only a single page
in the system limit.
.Pp
The per-process resource limit is not currently supported.
-.Sh HISTORY
-The
-.Fn mlock
-and
-.Fn munlock
-system calls first appeared in
-.Bx 4.4 .
OpenPOWER on IntegriCloud