Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2021 13:44:35 GMT
From:      Ka Ho Ng <khng@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6e1df1d14c6d - main - pmap_extract.9: Fix pmap_extract_and_hold()'s function type
Message-ID:  <202108271344.17RDiZdB039791@gitrepo.freebsd.org>

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

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

commit 6e1df1d14c6dfcc209c1416ec0832e4d08191c72
Author:     Ka Ho Ng <khng@FreeBSD.org>
AuthorDate: 2021-08-27 13:42:49 +0000
Commit:     Ka Ho Ng <khng@FreeBSD.org>
CommitDate: 2021-08-27 13:44:16 +0000

    pmap_extract.9: Fix pmap_extract_and_hold()'s function type
    
    pmap_extract_and_hold() returns a vm_page_t instead of a physical page
    address.
    
    Sponsored by:   The FreeBSD Foundation
    Reviewed by:    alc
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D31691
---
 share/man/man9/pmap_extract.9 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/share/man/man9/pmap_extract.9 b/share/man/man9/pmap_extract.9
index d2154ebe8a0b..77f3b47ec51e 100644
--- a/share/man/man9/pmap_extract.9
+++ b/share/man/man9/pmap_extract.9
@@ -38,7 +38,7 @@
 .In vm/pmap.h
 .Ft vm_paddr_t
 .Fn pmap_extract "pmap_t pmap" "vm_offset_t va"
-.Ft vm_paddr_t
+.Ft vm_page_t
 .Fn pmap_extract_and_hold "pmap_t pmap" "vm_offset_t va" "vm_prot_t prot"
 .Sh DESCRIPTION
 The
@@ -73,7 +73,9 @@ will be returned.
 .Pp
 The
 .Fn pmap_extract_and_hold
-function will return the physical page address associated with the
+function will return the
+.Ft vm_page_t
+associated with the
 virtual address
 .Fa va
 inside the physical map



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