WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] __va() vs phys_to_virt()

On Fri, 2005-03-18 at 12:32 -0600, 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?

One minor thing on some Linux arches is that virt_to_phys() is volatile,
__pa() is just a macro, so they have different optimization rules.

-- Dave



-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>