? pmap-man.diff ? pmap_page_init.9 Index: Makefile =================================================================== RCS file: /home/ncvs/src/share/man/man9/Makefile,v retrieving revision 1.258 diff -u -r1.258 Makefile --- Makefile 20 Apr 2005 19:11:05 -0000 1.258 +++ Makefile 10 Jun 2005 08:54:22 -0000 @@ -172,6 +172,7 @@ pmap_mincore.9 \ pmap_object_init_pt.9 \ pmap_page_exists_quick.9 \ + pmap_page_init.9 \ pmap_page_protect.9 \ pmap_pinit.9 \ pmap_qenter.9 \ Index: pmap_init.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/pmap_init.9,v retrieving revision 1.2 diff -u -r1.2 pmap_init.9 --- pmap_init.9 6 Jul 2004 07:02:31 -0000 1.2 +++ pmap_init.9 10 Jun 2005 08:54:22 -0000 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD: src/share/man/man9/pmap_init.9,v 1.2 2004/07/06 07:02:31 ru Exp $ .\" -.Dd July 21, 2003 +.Dd June 10, 2005 .Dt PMAP_INIT 9 .Os .Sh NAME @@ -37,7 +37,7 @@ .In vm/vm.h .In vm/pmap.h .Ft void -.Fn pmap_init "vm_paddr_t phys_start" "vm_paddr_t phys_end" +.Fn pmap_init "void" .Ft void .Fn pmap_init2 "void" .Sh DESCRIPTION @@ -53,19 +53,15 @@ system needs in order to map between physical and virtual memory. .Pp The -.Fn pmap_init -supports discontiguous physical memory in a fairly consistent way. -The module will manage the range of physical pages between -.Fa phys_start -and -.Fa phys_end . -.Pp -The .Fn pmap_init2 function initializes a zone for the PV entries. These are used to implement page sharing at the physical level. A high water mark is set so that the system can recover from excessive numbers of PV entries. +.SH IMPLEMENTATION NOTES +The +.Fn pmap_init2 +function is deprecated. .Sh SEE ALSO .Xr pmap 9 .Sh AUTHORS --- /dev/null Fri Jun 10 08:50:09 2005 +++ pmap_page_init.9 Fri Jun 10 08:53:18 2005 @@ -0,0 +1,51 @@ +.\" +.\" Copyright (c) 2005 Hiten Pandya +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd June 10, 2005 +.Dt PMAP_PAGE_INIT 9 +.Os +.Sh NAME +.Nm pmap_page_init +.Nd initialize machine-dependent fields of a VM page +.Sh SYNOPSIS +.In sys/param.h +.In vm/vm.h +.In vm/pmap.h +.Ft void +.Fn pmap_page_init "vm_page_t m" +.Sh DESCRIPTION +The +.Fn pmap_page_init +function initializes the machine-dependent fields of a VM page structure. +This procedure is normally used when adding new pages to the VM page +queue management lists. +.Sh SEE ALSO +.Xr pmap 9 , +.Xr pmap_pinit 9 +.Sh AUTHORS +This manual page was written by +.An Hiten Pandya Aq hmp@FreeBSD.org .