Wed Apr 27 06:02:03 2011 UTC ()
Bump date for uvm_swap_stats() removal; remove superfluous Pp.


(wiz)
diff -r1.104 -r1.105 src/share/man/man9/uvm.9

cvs diff -r1.104 -r1.105 src/share/man/man9/uvm.9 (expand / switch to unified diff)

--- src/share/man/man9/uvm.9 2011/04/27 00:35:53 1.104
+++ src/share/man/man9/uvm.9 2011/04/27 06:02:03 1.105
@@ -1,40 +1,40 @@ @@ -1,40 +1,40 @@
1.\" $NetBSD: uvm.9,v 1.104 2011/04/27 00:35:53 rmind Exp $ 1.\" $NetBSD: uvm.9,v 1.105 2011/04/27 06:02:03 wiz Exp $
2.\" 2.\"
3.\" Copyright (c) 1998 Matthew R. Green 3.\" Copyright (c) 1998 Matthew R. Green
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
20.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 20.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 21.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
22.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 22.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE. 25.\" SUCH DAMAGE.
26.\" 26.\"
27.Dd November 7, 2010 27.Dd April 27, 2011
28.Dt UVM 9 28.Dt UVM 9
29.Os 29.Os
30.Sh NAME 30.Sh NAME
31.Nm uvm 31.Nm uvm
32.Nd virtual memory system external interface 32.Nd virtual memory system external interface
33.Sh SYNOPSIS 33.Sh SYNOPSIS
34.In sys/param.h 34.In sys/param.h
35.In uvm/uvm.h 35.In uvm/uvm.h
36.Sh DESCRIPTION 36.Sh DESCRIPTION
37The UVM virtual memory system manages access to the computer's memory 37The UVM virtual memory system manages access to the computer's memory
38resources. 38resources.
39User processes and the kernel access these resources through 39User processes and the kernel access these resources through
40UVM's external interface. 40UVM's external interface.
@@ -881,27 +881,26 @@ means that we must not sleep. @@ -881,27 +881,26 @@ means that we must not sleep.
881causes any pages which do not already exist to be skipped. 881causes any pages which do not already exist to be skipped.
882.Dv UFP_NOCACHE 882.Dv UFP_NOCACHE
883causes any pages which do already exist to be skipped. 883causes any pages which do already exist to be skipped.
884.Dv UFP_NORDONLY 884.Dv UFP_NORDONLY
885causes any pages which are marked PG_READONLY to be skipped. 885causes any pages which are marked PG_READONLY to be skipped.
886.Pp 886.Pp
887.Fn uvm_vnp_setsize 887.Fn uvm_vnp_setsize
888sets the size of vnode 888sets the size of vnode
889.Fa vp 889.Fa vp
890to 890to
891.Fa newsize . 891.Fa newsize .
892Caller must hold a reference to the vnode. 892Caller must hold a reference to the vnode.
893If the vnode shrinks, pages no longer used are discarded. 893If the vnode shrinks, pages no longer used are discarded.
894.Pp 
895.Sh SYSCTL 894.Sh SYSCTL
896UVM provides support for the 895UVM provides support for the
897.Dv CTL_VM 896.Dv CTL_VM
898domain of the 897domain of the
899.Xr sysctl 3 898.Xr sysctl 3
900hierarchy. 899hierarchy.
901It handles the 900It handles the
902.Dv VM_LOADAVG , 901.Dv VM_LOADAVG ,
903.Dv VM_METER , 902.Dv VM_METER ,
904.Dv VM_UVMEXP , 903.Dv VM_UVMEXP ,
905and 904and
906.Dv VM_UVMEXP2 905.Dv VM_UVMEXP2
907nodes, which return the current load averages, calculates current VM 906nodes, which return the current load averages, calculates current VM