|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [patch 28/34] Xen-pv_ops: Xen SMP guest support
To: |
Benjamin LaHaise <bcrl@xxxxxxxxx> |
Subject: |
[Xen-devel] Re: [patch 28/34] Xen-pv_ops: Xen SMP guest support |
From: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Date: |
Wed, 14 Mar 2007 08:05:28 -0700 |
Cc: |
Zachary Amsden <zach@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxx, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Andi Kleen <ak@xxxxxxx>, Chris Wright <chrisw@xxxxxxxxxxxx>, Andi Kleen <ak@xxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> |
Delivery-date: |
Wed, 14 Mar 2007 08:05:29 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<20070314132820.GL6209@xxxxxxxxx> |
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> |
References: |
<20070313233017.933601256@xxxxxxxx> <20070313233034.586018620@xxxxxxxx> <20070314132820.GL6209@xxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070302) |
Benjamin LaHaise wrote:
> Are you switching mms in order to avoid all of the overhead associated with
> flushing an active mm during task exit? If so, it makes much more sense to
> do this in the generic helper, as it should be a win on x86 and x86-64
> where switching to init_mm is relatively low cost given the support for
> global pages. I'll run some tests on a couple of systems this evening and
> post the results.
Under Xen, the pagetables are mapped read-only to the guest, so all
pagetable updates need to go via the hypervisor. If we switch to
init_mm and unpin (make all the pages RW) before pulling the pagetable
apart, then we can just traverse and modify the pagetable memory as
normal RW memory. It avoids a heap of traps into the hypervisor.
J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [patch 22/34] Xen-pv_ops: Add nosegneg capability to the vsyscall page notes, (continued)
- [Xen-devel] [patch 22/34] Xen-pv_ops: Add nosegneg capability to the vsyscall page notes, Jeremy Fitzhardinge
- [Xen-devel] [patch 18/34] Xen-pv_ops: revert map_pt_hook., Jeremy Fitzhardinge
- [Xen-devel] [patch 20/34] Xen-pv_ops: Add apply_to_page_range() which applies a function to a pte range., Jeremy Fitzhardinge
- [Xen-devel] [patch 19/34] Xen-pv_ops: add kmap_atomic_pte for mapping highpte pages, Jeremy Fitzhardinge
- [Xen-devel] [patch 27/34] Xen-pv_ops: Implement Xen clockevent device, Jeremy Fitzhardinge
- [Xen-devel] [patch 31/34] Xen-pv_ops: Add Xen grant table support, Jeremy Fitzhardinge
- [Xen-devel] [patch 29/34] Xen-pv_ops: Use the hvc console infrastructure for Xen console, Jeremy Fitzhardinge
- [Xen-devel] [patch 30/34] Xen-pv_ops: Add early printk support via hvc console, Jeremy Fitzhardinge
- [Xen-devel] [patch 28/34] Xen-pv_ops: Xen SMP guest support, Jeremy Fitzhardinge
- [Xen-devel] [patch 26/34] Xen-pv_ops: Complete pagetable pinning for Xen, Jeremy Fitzhardinge
- [Xen-devel] [patch 25/34] Xen-pv_ops: Core Xen implementation, Jeremy Fitzhardinge
- [Xen-devel] [patch 32/34] Xen-pv_ops: Add the Xenbus sysfs and virtual device hotplug driver., Jeremy Fitzhardinge
- [Xen-devel] [patch 33/34] Xen-pv_ops: Add Xen virtual block device driver., Jeremy Fitzhardinge
- [Xen-devel] [patch 24/34] Xen-pv_ops: Add Xen interface header files, Jeremy Fitzhardinge
- [Xen-devel] [patch 34/34] Xen-pv_ops: Add the Xen virtual network device driver., Jeremy Fitzhardinge
|
|
|
|
|