|
|
|
|
|
|
|
|
|
|
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 16:59:05 -0700 |
Cc: |
Zachary Amsden <zach@xxxxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, 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 17:00:13 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<1213831403.8011.24.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> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Thunderbird 2.0.0.14 (X11/20080501) |
Benjamin Herrenschmidt wrote:
On Mon, 2008-06-16 at 04:30 -0700, Jeremy Fitzhardinge wrote:
The only current user of this interface is mprotect
Do you plan to use it with fork ultimately ?
Good point, I'd overlooked that. I guess that means using it in
ptep_set_wrprotect().
At present the x86 ptep_set_wrprotect() just uses clear_bit on the pte,
which is a locked cycle. Is that significantly cheaper than an xchg +
set? (Same number of locked operations...)
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 0 of 4] mm+paravirt+xen: add pte read-modify-write abstraction (take 2), Jeremy Fitzhardinge
- [Xen-devel] [PATCH 3 of 4] xen: implement ptep_modify_prot_start/commit, Jeremy Fitzhardinge
- [Xen-devel] [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
- Message not available
- [Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction, Jeremy Fitzhardinge
- 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
|
|
|
|
|