Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2024 22:29:01 GMT
From:      Robert Wing <rew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: bc1eea0c0b0a - main - pmap_init(9): sweep references to pmap_init2()
Message-ID:  <202401122229.40CMT1M5058241@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rew:

URL: https://cgit.FreeBSD.org/src/commit/?id=bc1eea0c0b0ad0a39b5b22b89341b4af1f0cd21f

commit bc1eea0c0b0ad0a39b5b22b89341b4af1f0cd21f
Author:     Robert Wing <rew@FreeBSD.org>
AuthorDate: 2024-01-09 04:50:47 +0000
Commit:     Robert Wing <rew@FreeBSD.org>
CommitDate: 2024-01-12 13:29:50 +0000

    pmap_init(9): sweep references to pmap_init2()
    
    gone since 2005
---
 ObsoleteFiles.inc          |  3 +++
 share/man/man9/Makefile    |  2 +-
 share/man/man9/pmap.9      |  1 -
 share/man/man9/pmap_init.9 | 16 +++-------------
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401122229.40CMT1M5058241>