Re: git: 74e4a8d208f0 - main - pmap: add pmap_kextract(9) man page
Date: Mon, 16 Oct 2023 22:54:32 UTC
On 10/14/23 10:34 AM, Mitchell Horne wrote: > On 10/14/23 10:28, Konstantin Belousov wrote: >> On Fri, Oct 13, 2023 at 06:27:33PM +0000, Mitchell Horne wrote: >>> +.Pp >>> +.Fn vtophys >>> +is an alias for >>> +.Fn pmap_kextract >>> +and behaves identically. >>> +.Sh RETURN VALUES >>> +The >>> +.Fn pmap_kextract >>> +function will return the physical address >>> +.Pq Vt vm_paddr_t >>> +associated with the kernel virtual address >> and 'associated'? >> >> The function returns address of physical memory mapped at the supplied >> kernel virtual address. >> > > Sure, this is more accurate. I suggest tweaking this further just to be very explicit about the type of address being returned: The .Fn pmap_kextract function returns the physical address of memory mapped at the kernel virtual address .Va va . or some such. -- John Baldwin