Module Name: src
Committed By: pooka
Date: Fri Nov 19 17:35:04 UTC 2010
Modified Files:
src/lib/librump: rump.3
Log Message:
document RUMP_NVNODES
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/librump/rump.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librump/rump.3
diff -u src/lib/librump/rump.3:1.4 src/lib/librump/rump.3:1.5
--- src/lib/librump/rump.3:1.4 Thu Sep 2 15:24:34 2010
+++ src/lib/librump/rump.3 Fri Nov 19 17:35:04 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: rump.3,v 1.4 2010/09/02 15:24:34 pooka Exp $
+.\" $NetBSD: rump.3,v 1.5 2010/11/19 17:35:04 pooka Exp $
.\"
.\" Copyright (c) 2008-2010 Antti Kantee. All rights reserved.
.\"
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd August 26, 2010
+.Dd November 19, 2010
.Dt RUMP 3
.Os
.Sh NAME
@@ -87,6 +87,14 @@
If set, indicates how many bytes of memory a rump kernel will
allocate before attempting to purge caches.
The default is as much as the host allows.
+.It Dv RUMP_NVNODES
+Sets the value of the kern.maxvnodes sysctl node to the indicated amount.
+Adjusting this may be useful for example when testing vnode reclaim
+code paths.
+While the same value can be set by means of sysctl, the env variable
+is often more convenient for quick testing.
+As expected, this option has effect only in rump kernels which support VFS.
+The current default is 1024 vnodes.
.El
.Pp
A number of interfaces are available for requesting services from