From nobody Fri Jan 12 22:29:01 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TBbmZ1pyVz56XCt; Fri, 12 Jan 2024 22:29:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TBbmZ1Kjlz4lyH; Fri, 12 Jan 2024 22:29:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705098542; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3Nu1AzDDWiCbxfst3QbTx2zmoeZ0sjhQ/kueuPmUqeo=; b=ZpYYkMwSAiqy4GJaWuVIUkvjODX6lHMOUUNiPVEK7SmiG15NJnPgJbWxQPom60a9GOTAWj kPLuleq2nN6gpYSzvQaJ2hfQrtG53rtJWLEGjiYqWEJM3u4T2vozLXb3PwyGWByCiLoZoP u5cVzucthbxu0gmfFSOksnefhHFZ4cZn2haETsB88gUZ875gee7eiRP9X2iOkktb83eEF1 s4AwNaX9xODbZ+rklDZXL5IIPzpoki9lTr4VI0NBigs3JMsBdjCMX6JQpXlpNzA+jDc4co ib07KkIUDkDuAozW5USg8XgKsuhzTuY8pv+/e4l/G/xBPlnKy1s3Lo6OcUGsfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705098542; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3Nu1AzDDWiCbxfst3QbTx2zmoeZ0sjhQ/kueuPmUqeo=; b=oWpSVQZ92QZZb4rUhR8YaQP6qTG0N6RBnk9zAO3DqyVNAE1QyS77jhUooAJctrbjwGiCBF 5KzJDCMbNT7f4JkpyjlzwF2po9kYBI42LjMGdI+wXDAwGlFvEKZ5qZwmVxrqAMIfiG34pr Sf6FqwHcxLjDp8Yw6IjldyGAGMkzvtWAdK4PQrwOGBXWwsU/Y4fMng6Fcb8blo3bvQA8Vp YR64hbI17ofNysWpkfVbclwWdrmtddJMW0dTOzoJWbzWV/GOkkvKQyka663WyyKJEO0sog ifBS+wUQBR1W3W06AOPkdeddzzUMB0e33kL/2Ki2yQk8uP6EUhnU4hg1ladJMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705098542; a=rsa-sha256; cv=none; b=wb0Nud0At3cUCSHw0Jotngg5f7A0wgToLsnGIGY2GHxuUteaolXN/OD8F05MNPPKwD/LOM I3nAMeXKE7zfhMI7K2KiXon0hMNejRkXCu+6rM2ijb/Y02xHu7g7vMUfFLUuuGMQp+amT+ tba9y7muupFREpfH5uzfWN2OAP7VNHJ0ZjOzhf1qQSa+KnHRybKI60IAVxV8TJxdKyt5Rl E/qtz1mN96QP85njdB/gMjGLyvIBsbaIxgBV2UPlh6FF0xZJXNwCPOIYERdfpK2GU97FY9 EdvdWymvvmjiy0va+c4Q3+KbT9QraE+gh01RQM/a84qTKyv6XWrtmbiqbTk1cA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TBbmZ077gz1K9F; Fri, 12 Jan 2024 22:29:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40CMT1Or058244; Fri, 12 Jan 2024 22:29:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40CMT1M5058241; Fri, 12 Jan 2024 22:29:01 GMT (envelope-from git) Date: Fri, 12 Jan 2024 22:29:01 GMT Message-Id: <202401122229.40CMT1M5058241@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Robert Wing Subject: git: bc1eea0c0b0a - main - pmap_init(9): sweep references to pmap_init2() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bc1eea0c0b0ad0a39b5b22b89341b4af1f0cd21f Auto-Submitted: auto-generated The branch main has been updated by rew: URL: https://cgit.FreeBSD.org/src/commit/?id=bc1eea0c0b0ad0a39b5b22b89341b4af1f0cd21f commit bc1eea0c0b0ad0a39b5b22b89341b4af1f0cd21f Author: Robert Wing AuthorDate: 2024-01-09 04:50:47 +0000 Commit: Robert Wing 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