Date: Sat, 11 Jan 2003 15:14:39 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Jake Burkholder <jake@locore.ca> Cc: hackers@FreeBSD.ORG, "Alan L. Cox" <alc@imimic.com>, Tor.Egge@cvsup.no.freebsd.org Subject: Re: vmapbuf/vunmapbuf consolidation -- need alpha/ia64 review. Message-ID: <200301112314.h0BNEdZP048492@apollo.backplane.com> References: <20021102171534X.tegge@cvsup.no.freebsd.org> <3DCD7F3A.DE013857@imimic.com> <200301092137.h09Lbo0E005483@apollo.backplane.com> <3E1DF369.81ADB566@imimic.com> <200301100058.h0A0wiqo000380@apollo.backplane.com> <3E1FF17B.455C2A71@imimic.com> <200301112051.h0BKpiWr047795@apollo.backplane.com> <20030111161850.C212@locore.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
:with the pmap of the current process, pmap_kextract won't work even for :the current address space because kva is not mapped into each process's :pmap. : :... : pmap = &curproc->p_vmspace->vm_pmap; :... : pa = trunc_page(pmap_extract(pmap, (vm_offset_t)addr)); :... : : :This should work for all platforms. : :The rest looks fine apart from style bugs. : :Jake All right. I'll double check that pmap_extract() works and make the change. I'm glad I asked. I remembered that there was something strange about one of the architectures but I could not recall what it was. -Matt Matthew Dillon <dillon@backplane.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301112314.h0BNEdZP048492>