diff options
| author | Brian Feldman <green@FreeBSD.org> | 2004-08-10 14:52:42 +0000 |
|---|---|---|
| committer | Brian Feldman <green@FreeBSD.org> | 2004-08-10 14:52:42 +0000 |
| commit | 831bc6f574cae23481a46f45206dfbdc1f120774 (patch) | |
| tree | 7a706f467561e0a05b1cca44eed4a03156dfafe7 | |
| parent | 5b2bbd83fc1b8b8f772e23f03d7348bd7ff231b6 (diff) | |
Notes
| -rw-r--r-- | lib/libc/sys/mlock.2 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/mlock.2 b/lib/libc/sys/mlock.2 index d0d3de26dda9..3449b66d4fb7 100644 --- a/lib/libc/sys/mlock.2 +++ b/lib/libc/sys/mlock.2 @@ -137,9 +137,10 @@ The caller is not the super-user. The address given is not page aligned or the length is negative. .It Bq Er ENOMEM Some portion of the indicated address range is not allocated. -Some portion of the indicated address range is not locked. .El .Sh "SEE ALSO" +.Xr mlockall 2, +.Xr munlockall 2, .Xr fork 2 , .Xr mincore 2 , .Xr minherit 2 , @@ -148,6 +149,9 @@ Some portion of the indicated address range is not locked. .Xr setrlimit 2 , .Xr getpagesize 3 .Sh BUGS +Allocating too much wired memory can lead to a memory-allocation deadlock +which requires a reboot to recover from. +.Pp The per-process resource limit is a limit on the amount of virtual memory locked, while the system-wide limit is for the number of locked physical pages. |
