From: Keir Fraser <keir@xensource.com>
To: Christoph Egger <Christoph.Egger@amd.com>, xen-devel@lists.xensource.com
Subject: Re: [PATCH] Cleanup/fix virt_to_maddr
Date: Wed, 24 Jan 2007 11:06:00 +0000 [thread overview]
Message-ID: <C1DCEE18.822A%keir@xensource.com> (raw)
In-Reply-To: <200701241201.32215.Christoph.Egger@amd.com>
On 24/1/07 11:01, "Christoph Egger" <Christoph.Egger@amd.com> wrote:
>> They're only used on Xen heap virtual addresses whose physical addresses
>> are always below 64MB. So there should be no issues in returning a ulong.
>
> Oh, I see. So it's absolutely not used for domains (which I assumed)?
No, all it does is a simple arithmetic transformation (subtracting
PAGE_OFFSET) which is only valid for non-guest pages on x86_32. It can be
used for any page on x86_64, but there we have paddr_t==ulong.
-- Keir
prev parent reply other threads:[~2007-01-24 11:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-24 9:06 [PATCH] Cleanup/fix virt_to_maddr Christoph Egger
2007-01-24 10:48 ` Keir Fraser
2007-01-24 11:01 ` Christoph Egger
2007-01-24 11:06 ` Keir Fraser [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=C1DCEE18.822A%keir@xensource.com \
--to=keir@xensource.com \
--cc=Christoph.Egger@amd.com \
--cc=xen-devel@lists.xensource.com \
/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.