All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Hansen <haveblue@us.ibm.com>
To: Hollis Blanchard <hollisb@us.ibm.com>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: __va() vs phys_to_virt()
Date: Tue, 22 Mar 2005 12:45:00 -0800	[thread overview]
Message-ID: <1111524300.5045.86.camel@localhost> (raw)
In-Reply-To: <200503181232.12435.hollisb@us.ibm.com>

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

      parent reply	other threads:[~2005-03-22 20:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-18 18:32 __va() vs phys_to_virt() Hollis Blanchard
2005-03-18 18:45 ` Xin Zhao
2005-03-18 18:46   ` Hollis Blanchard
2005-03-18 18:59     ` Jesse Barnes
2005-03-18 19:16       ` Hollis Blanchard
2005-03-22 20:45 ` Dave Hansen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1111524300.5045.86.camel@localhost \
    --to=haveblue@us.ibm.com \
    --cc=hollisb@us.ibm.com \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.