aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Wing <rew@FreeBSD.org>2024-01-09 04:50:47 +0000
committerRobert Wing <rew@FreeBSD.org>2024-01-12 13:29:50 +0000
commitbc1eea0c0b0ad0a39b5b22b89341b4af1f0cd21f (patch)
treec9bf1f998d60fc7d24a95a0231b9b479915d71d2
parent55e2a7d3ea21728f0a5ea712350f521507f3cfb0 (diff)
downloadsrc-bc1eea0c0b0ad0a39b5b22b89341b4af1f0cd21f.tar.gz
src-bc1eea0c0b0ad0a39b5b22b89341b4af1f0cd21f.zip
pmap_init(9): sweep references to pmap_init2()
gone since 2005
-rw-r--r--ObsoleteFiles.inc3
-rw-r--r--share/man/man9/Makefile2
-rw-r--r--share/man/man9/pmap.91
-rw-r--r--share/man/man9/pmap_init.916
4 files changed, 7 insertions, 15 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 9242d37a62fd..7265d0a19741 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -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
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 8ec1f06a50ed..276662568088 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -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
diff --git a/share/man/man9/pmap.9 b/share/man/man9/pmap.9
index 5672dbe6b71d..8c86f44d9ff2 100644
--- a/share/man/man9/pmap.9
+++ b/share/man/man9/pmap.9
@@ -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 ,
diff --git a/share/man/man9/pmap_init.9 b/share/man/man9/pmap_init.9
index b530737126fc..3ca609d0d3fd 100644
--- a/share/man/man9/pmap_init.9
+++ b/share/man/man9/pmap_init.9
@@ -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