pmap_init(9): sweep references to pmap_init2()

gone since 2005
This commit is contained in:
Robert Wing 2024-01-08 19:50:47 -09:00
parent 55e2a7d3ea
commit bc1eea0c0b
4 changed files with 7 additions and 15 deletions

View file

@ -51,6 +51,9 @@
# xargs -n1 | sort | uniq -d;
# done
# 20240112: remove pmap_init2()
OLD_FILES+=usr/share/man/man9/pmap_init2.9.gz
# 20240112: remove pmap_pinit2()
OLD_FILES+=usr/share/man/man9/pmap_pinit2.9.gz

View file

@ -1811,7 +1811,7 @@ MLINKS+=PHOLD.9 PRELE.9 \
MLINKS+=pmap_copy.9 pmap_copy_page.9
MLINKS+=pmap_extract.9 pmap_extract_and_hold.9
MLINKS+=pmap_kextract.9 vtophys.9
MLINKS+=pmap_init.9 pmap_init2.9
MLINKS+=pmap_init.9
MLINKS+=pmap_is_modified.9 pmap_ts_referenced.9
MLINKS+=pmap_pinit.9 pmap_pinit0.9
MLINKS+=pmap_qenter.9 pmap_qremove.9

View file

@ -94,7 +94,6 @@ operation.
.Xr pmap_extract_and_hold 9 ,
.Xr pmap_growkernel 9 ,
.Xr pmap_init 9 ,
.Xr pmap_init2 9 ,
.Xr pmap_is_modified 9 ,
.Xr pmap_is_prefaultable 9 ,
.Xr pmap_kextract 9 ,

View file

@ -23,12 +23,11 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd June 10, 2005
.Dd January 12, 2024
.Dt PMAP_INIT 9
.Os
.Sh NAME
.Nm pmap_init ,
.Nm pmap_init2
.Nm pmap_init
.Nd initialize the pmap subsystem
.Sh SYNOPSIS
.In sys/param.h
@ -36,8 +35,6 @@
.In vm/pmap.h
.Ft void
.Fn pmap_init "void"
.Ft void
.Fn pmap_init2 "void"
.Sh DESCRIPTION
The
.Fn pmap_init
@ -45,17 +42,10 @@ function initializes the
.Xr pmap 9
sub-system.
It is called during system initialization by
.Fn vm_init ,
.Fn vm_mem_init ,
to initialize any structures that the
.Nm
system needs in order to map between physical and virtual memory.
.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 SEE ALSO
.Xr pmap 9
.Sh AUTHORS