summaryrefslogtreecommitdiff
path: root/lib/libc/sys/mlock.2
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-01-20 09:17:07 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-01-20 09:17:07 +0000
commit24a0682c6465290759ed0b09ea16e40e7cd47053 (patch)
tree13c84f0554aefe96321f671bc8860f5e9f184a5a /lib/libc/sys/mlock.2
parente1239d17fe51ff52f68635ebbb01e77d58371618 (diff)
Notes
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 313deb556128..cf2ed4c3d672 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 .