|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [patch 14/21] Xen-paravirt: Add XEN config options and d
To: |
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx> |
Subject: |
[Xen-devel] Re: [patch 14/21] Xen-paravirt: Add XEN config options and disableunsupported config options. |
From: |
Keir Fraser <keir@xxxxxxxxxxxxx> |
Date: |
Fri, 16 Feb 2007 10:47:11 +0000 |
Cc: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxx, Steven Hand <steven.hand@xxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Chris Wright <chrisw@xxxxxxxxxxxx>, Andi Kleen <ak@xxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx> |
Delivery-date: |
Fri, 16 Feb 2007 02:46:32 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<20070216020947.03e1726e.akpm@xxxxxxxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
AcdRt8/EDlrZar2rEduvqQAX8io7RQ== |
Thread-topic: |
[patch 14/21] Xen-paravirt: Add XEN config options and disableunsupported config options. |
User-agent: |
Microsoft-Entourage/11.2.5.060620 |
On 16/2/07 10:09, "Andrew Morton" <akpm@xxxxxxxxxxxxxxxxxxxx> 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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|