|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [patch 15/26] Xen-paravirt_ops: Add apply_to_page_range(
To: |
Ingo Molnar <mingo@xxxxxxx> |
Subject: |
[Xen-devel] Re: [patch 15/26] Xen-paravirt_ops: Add apply_to_page_range() which applies a function to a pte range. |
From: |
Chris Wright <chrisw@xxxxxxxxxxxx> |
Date: |
Fri, 16 Mar 2007 09:47:19 -0700 |
Cc: |
Zachary Amsden <zach@xxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Ian Pratt <ian.pratt@xxxxxxxxxxxxx>, Andi Kleen <ak@xxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Chris Wright <chrisw@xxxxxxxxxxxx>, virtualization@xxxxxxxxxxxxxx, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Christoph Lameter <clameter@xxxxxxx>, Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> |
Delivery-date: |
Fri, 16 Mar 2007 09:45:43 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<20070316091940.GJ23174@xxxxxxx> |
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: |
<20070301232443.195603797@xxxxxxxx> <20070301232528.155002121@xxxxxxxx> <20070316091940.GJ23174@xxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Mutt/1.4.2.2i |
* Ingo Molnar (mingo@xxxxxxx) wrote:
>
> * Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
>
> > Add a new mm function apply_to_page_range() which applies a given
> > function to every pte in a given virtual address range in a given mm
> > structure. This is a generic alternative to cut-and-pasting the Linux
> > idiomatic pagetable walking code in every place that a sequence of
> > PTEs must be accessed.
>
> nice one! I suspect we could simplify some of the less
> performance-critical open-coded pagetable walker loops in the kernel
> with this? (i'm not even sure it's all that much of a performance loss
> to pass a function pointer around - would be nice to convert say
> mprotect() to this and see the performance difference?)
We went through this before, and eventually got kick back to
keep it Xen specific. There's still some effort for generalized
walkers from the Gelato folks IIRC. And we can certainly adapt.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Re: [patch 12/26] Xen-paravirt_ops: Fix patch site clobbers to include return register, (continued)
[Xen-devel] Re: [patch 12/26] Xen-paravirt_ops: Fix patch site clobbers to include return register, Ingo Molnar
[Xen-devel] [patch 07/26] Xen-paravirt_ops: Allow paravirt backend to choose kernel PMD sharing, Jeremy Fitzhardinge
[Xen-devel] [patch 10/26] Xen-paravirt_ops: rename struct paravirt_patch to paravirt_patch_site for clarity, Jeremy Fitzhardinge
[Xen-devel] [patch 15/26] Xen-paravirt_ops: Add apply_to_page_range() which applies a function to a pte range., Jeremy Fitzhardinge
[Xen-devel] [patch 04/26] Xen-paravirt_ops: Add pagetable accessors to pack and unpack pagetable entries, Jeremy Fitzhardinge
[Xen-devel] [patch 09/26] Xen-paravirt_ops: remove HAVE_ARCH_MM_LIFETIME, define no-op architecture implementations, Jeremy Fitzhardinge
[Xen-devel] [patch 11/26] Xen-paravirt_ops: Use patch site IDs computed from offset in paravirt_ops structure, Jeremy Fitzhardinge
[Xen-devel] [patch 13/26] Xen-paravirt_ops: Consistently wrap paravirt ops callsites to make them patchable, Jeremy Fitzhardinge
|
|
|
|
|