LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: Andrew Morton <akpm@linux-foundation.org>,
Christian Limpach <Christian.Limpach@xensource.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
Chris Wright <chrisw@sous-sol.org>, Andi Kleen <ak@muc.de>,
<xen-devel@lists.xensource.com>,
Ian Pratt <Ian.Pratt@xensource.com>,
<virtualization@lists.osdl.org>,
Steven Hand <steven.hand@cl.cam.ac.uk>,
<linux-kernel@vger.kernel.org>
Subject: Re: [patch 14/21] Xen-paravirt: Add XEN config options and disableunsupported config options.
Date: Fri, 16 Feb 2007 10:47:11 +0000 [thread overview]
Message-ID: <C1FB3C2F.98E9%keir@xensource.com> (raw)
In-Reply-To: <20070216020947.03e1726e.akpm@linux-foundation.org>
On 16/2/07 10:09, "Andrew Morton" <akpm@linux-foundation.org> wrote:
> Are the places where the domU code references machine addresses splattered
> all over the code? If not, they can just be wrapped with
> preempt_disable/preempt_enable?
The main places where machine addresses are 'visible' are any code that
holds a pte_t,pmd_t,pud_t,pgd_t. We hide the machine-to-pseudophysical and
pseudophysical-to-machine translations inside e.g., pte_val() and __pte()
(i.e., constructors and extractors for page table entries). Obviously the
users of these macros are open coded all over the place, quite apart from
the performance cost of sprinkling preempt_{enable,disable} so liberally.
-- Keir
next prev parent reply other threads:[~2007-02-16 10:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-16 10:00 Christian Limpach
2007-02-16 10:09 ` Andrew Morton
2007-02-16 10:47 ` Keir Fraser [this message]
2007-02-16 10:54 ` Andrew Morton
2007-02-16 11:03 ` Keir Fraser
2007-02-16 17:46 ` [Xen-devel] " Jeremy Fitzhardinge
2007-02-16 19:00 ` Keir Fraser
2007-02-16 19:24 ` Jeremy Fitzhardinge
2007-02-16 21:51 ` Zachary Amsden
2007-02-16 22:38 ` Dan Hecht
2007-02-17 15:06 ` Rik van Riel
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=C1FB3C2F.98E9%keir@xensource.com \
--to=keir@xensource.com \
--cc=Christian.Limpach@xensource.com \
--cc=Ian.Pratt@xensource.com \
--cc=ak@muc.de \
--cc=akpm@linux-foundation.org \
--cc=chrisw@sous-sol.org \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=steven.hand@cl.cam.ac.uk \
--cc=virtualization@lists.osdl.org \
--cc=xen-devel@lists.xensource.com \
--subject='Re: [patch 14/21] Xen-paravirt: Add XEN config options and disableunsupported config options.' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).