|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab
To: |
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> |
Subject: |
[Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction |
From: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Date: |
Fri, 20 Jun 2008 13:22:22 -0700 |
Cc: |
xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>, kvm-devel <kvm-devel@xxxxxxxxxxxxxxxxxxxxx>, benh@xxxxxxxxxxxxxxxxxxx, x86@xxxxxxxxxx, LKML <linux-kernel@xxxxxxxxxxxxxxx>, Virtualization Mailing List <virtualization@xxxxxxxxxxxxxx>, Hugh Dickins <hugh@xxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx> |
Delivery-date: |
Fri, 20 Jun 2008 13:22:51 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<485C1000.8020806@xxxxxxxx> |
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: |
<alpine.LFD.1.10.0806181723400.2907@xxxxxxxxxxxxxxxxxxxxxxxxxx> <4859AA47.2020903@xxxxxxxx> <alpine.LFD.1.10.0806181743390.2907@xxxxxxxxxxxxxxxxxxxxxxxxxx> <alpine.LFD.1.10.0806182050470.2907@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20080619115832.GM15228@xxxxxxx> <alpine.LFD.1.10.0806190928100.2907@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20080619164708.GA32190@xxxxxxx> <20080620101028.GA23664@xxxxxxx> <485BFFC4.3070902@xxxxxxxx> <alpine.LFD.1.10.0806201211560.3167@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20080620195620.GA20183@xxxxxxx> <alpine.LFD.1.10.0806201302350.3167@xxxxxxxxxxxxxxxxxxxxxxxxxx> <485C1000.8020806@xxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Thunderbird 2.0.0.14 (X11/20080501) |
Jeremy Fitzhardinge wrote:
Linus Torvalds wrote:
On Fri, 20 Jun 2008, Ingo Molnar wrote:
okay - Jeremy, could you try the fix below? (or tip/master, i just
pushed this out)
Actually, don't try that one.
It needs to be a _byte_ registers, so "ir" was wrong. You need "iq".
Doesn't work, unfortunately:
{standard input}:20511: Error: Incorrect register `%eax' used with `b'
suffix
lock; orb %eax,1(%rdi) # tmp64,
This does work:
asm volatile(LOCK_PREFIX "orb %1,%0"
: CONST_MASK_ADDR(nr, addr)
: "iq" ((u8)CONST_MASK(nr))
: "memory");
(ie, explicitly casting the mask to u8)
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)
- [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
- [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
|
|
|
|
|