|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab
To: |
benh@xxxxxxxxxxxxxxxxxxx |
Subject: |
[Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction |
From: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Date: |
Wed, 18 Jun 2008 22:03:43 -0700 |
Cc: |
xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>, kvm-devel <kvm-devel@xxxxxxxxxxxxxxxxxxxxx>, x86@xxxxxxxxxx, LKML <linux-kernel@xxxxxxxxxxxxxxx>, Virtualization Mailing List <virtualization@xxxxxxxxxxxxxx>, Hugh Dickins <hugh@xxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx> |
Delivery-date: |
Wed, 18 Jun 2008 22:04:48 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<1213835971.8011.54.camel@pasglop> |
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: |
<b020e42384197b824320.1213615800@localhost> <1213831403.8011.24.camel@pasglop> <4859A149.9090004@xxxxxxxx> <4859A528.1010107@xxxxxxxx> <alpine.LFD.1.10.0806181723400.2907@xxxxxxxxxxxxxxxxxxxxxxxxxx> <1213835971.8011.54.camel@pasglop> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Thunderbird 2.0.0.14 (X11/20080501) |
Benjamin Herrenschmidt wrote:
On Wed, 2008-06-18 at 17:24 -0700, Linus Torvalds wrote:
On Wed, 18 Jun 2008, Jeremy Fitzhardinge wrote:
Along the lines of:
Hell no. There's a reason we have a special set_wrprotect() thing. We can
do it more efficiently on native hardware by just clearing the bit
atomically. No need to do the cmpxchg games.
But we can't batch ...
Which architecture are you interested in? If it isn't x86, you can
probably get anything past Linus ;)
I'll do some measurements to see what effect the batchable
ptep_set_wrprotect() has on native. If it's significant, I'll propose
making it conditional on CONFIG_PARAVIRT.
J
_______________________________________________
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 1 of 4] mm: add a ptep_modify_prot transaction abstraction, (continued)
- Message not available
- Message not available
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction, Ingo Molnar
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction, Ingo Molnar
- Message not available
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction, Ingo Molnar
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction, Ingo Molnar
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction, Jeremy Fitzhardinge
- Message not available
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction, Ingo Molnar
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction, Jeremy Fitzhardinge
- Message not available
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction, Jeremy Fitzhardinge
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction, Jeremy Fitzhardinge
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction, Ingo Molnar
- Message not available
- Message not available
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction,
Jeremy Fitzhardinge <=
- Message not available
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction, Jeremy Fitzhardinge
[Xen-devel] [PATCH 4 of 4] xen: add mechanism to extend existing multicalls, Jeremy Fitzhardinge
[Xen-devel] [PATCH 2 of 4] paravirt: add hooks for ptep_modify_prot_start/commit, Jeremy Fitzhardinge
|
|
|
|
|