|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] Re: [PATCH 1 of 4] mm: add a ptep_modify_prot	transaction	ab
 
| 
To:  | 
Ingo Molnar <mingo@xxxxxxx> | 
 
| 
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 12:06:44 -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>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>,	Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> | 
 
| 
Delivery-date:  | 
Fri, 20 Jun 2008 12:07:10 -0700 | 
 
| 
Envelope-to:  | 
www-data@xxxxxxxxxxxxxxxxxx | 
 
| 
In-reply-to:  | 
<20080620101028.GA23664@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:  | 
<1213831403.8011.24.camel@pasglop> <4859A149.9090004@xxxxxxxx>	<4859A528.1010107@xxxxxxxx>	<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> | 
 
| 
Sender:  | 
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx | 
 
| 
User-agent:  | 
Thunderbird 2.0.0.14 (X11/20080501) | 
 
 
 
Ingo Molnar wrote:
 
* Ingo Molnar <mingo@xxxxxxx> wrote:
   
* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
     
On Thu, 19 Jun 2008, Ingo Molnar wrote:
       
Below is the commit, it needed a small amount of massaging to apply the 
void * -> unsigned long * change in the x86/bitops topic.
        
 
Well, that's your bug right there.
 The macros very much depended on the pointers being "void *", due to 
the pointer arithmetic (which is a gcc extension that we use 
extensively - "void *" arithmetic works as if it was a byte 
pointer).
      
 
duh, yeah - of course. Will retry with that fixed :)
     
 
 yep, the patch below got it all going and it passed 5 hours of testing 
already. Thanks,
  
 
Blows up on "gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)":
 CC      init/main.o
include2/asm/bitops.h: In function `start_kernel':
include2/asm/bitops.h:59: warning: asm operand 1 probably doesn't match 
constraints
include2/asm/bitops.h:59: warning: asm operand 1 probably doesn't match 
constraints
include2/asm/bitops.h:59: warning: asm operand 1 probably doesn't match 
constraints
include2/asm/bitops.h:59: error: impossible constraint in `asm'
include2/asm/bitops.h:59: error: impossible constraint in `asm'
include2/asm/bitops.h:59: error: impossible constraint in `asm'
        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 3 of 4] xen: implement	ptep_modify_prot_start/commit, (continued)
- [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
 - [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
 |  
  
 | 
    | 
  
  
    |   | 
    |