Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys The (incorrect) nesting behavior of mlock(2) no...



details:   https://anonhg.NetBSD.org/src/rev/1f82a4751bb6
branches:  trunk
changeset: 473723:1f82a4751bb6
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jun 16 23:14:59 1999 +0000

description:
The (incorrect) nesting behavior of mlock(2) no longer exists.

diffstat:

 lib/libc/sys/mlock.2 |  12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diffs (26 lines):

diff -r 26d41ada2770 -r 1f82a4751bb6 lib/libc/sys/mlock.2
--- a/lib/libc/sys/mlock.2      Wed Jun 16 23:10:51 1999 +0000
+++ b/lib/libc/sys/mlock.2      Wed Jun 16 23:14:59 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mlock.2,v 1.7 1999/04/06 04:54:19 cgd Exp $
+.\"    $NetBSD: mlock.2,v 1.8 1999/06/16 23:14:59 thorpej Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -140,16 +140,6 @@
 .Xr setrlimit 2 ,
 .Xr getpagesize 3
 .Sh BUGS
-Unlike The Sun implementation, multiple
-.Nm mlock
-calls on the same address range require the corresponding number of
-.Nm munlock
-calls to actually unlock the pages, i.e.
-.Nm mlock
-nests.
-This should be considered a consequence of the implementation
-and not a feature.
-.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.



Home | Main Index | Thread Index | Old Index