From: Hollis Blanchard Subject: Re: __va() vs phys_to_virt() Date: Fri, 18 Mar 2005 12:46:43 -0600 Message-ID: <200503181246.43922.hollisb@us.ibm.com> References: <200503181232.12435.hollisb@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-Reply-To: Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Xin Zhao Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org On Friday 18 March 2005 12:45, Xin Zhao wrote: > I thought they are the same. phys_to_virt() essentially calls __va(). They are implemented the same on x86, but that does not imply they mean the same thing. > On Fri, 18 Mar 2005, Hollis Blanchard wrote: > > Can someone explain where it's appropriate to use __va() and where > > phys_to_virt() should be used instead? Or are they truly synonymous, and > > we should phase out one or the other? > > > > -- > > Hollis Blanchard > > IBM Linux Technology Center > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/xen-devel -- Hollis Blanchard IBM Linux Technology Center ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click