[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.