| 
         
xen-devel
[Xen-devel] Re: [patch 09/26] Xen-paravirt_ops: remove HAVE_ARCH_MM_LIFE
 
| 
To:  | 
James Bottomley <James.Bottomley@xxxxxxxxxxxx> | 
 
| 
Subject:  | 
[Xen-devel] Re: [patch 09/26] Xen-paravirt_ops: remove HAVE_ARCH_MM_LIFETIME, define no-op architecture implementations | 
 
| 
From:  | 
Jeremy Fitzhardinge <jeremy@xxxxxxxx> | 
 
| 
Date:  | 
Tue, 27 Feb 2007 09:56:38 -0800 | 
 
| 
Cc:  | 
Zachary Amsden <zach@xxxxxxxxxx>, linux-arch@xxxxxxxxxxxxxxx,	xen-devel@xxxxxxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxx,	Rusty Russell <rusty@xxxxxxxxxxxxxxx>,	linux-kernel@xxxxxxxxxxxxxxx, Chris Wright <chrisw@xxxxxxxxxxxx>,	Andi Kleen <ak@xxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> | 
 
| 
Delivery-date:  | 
Tue, 27 Feb 2007 09:55:48 -0800 | 
 
| 
Envelope-to:  | 
www-data@xxxxxxxxxxxxxxxxxx | 
 
| 
In-reply-to:  | 
<1172597726.3408.25.camel@xxxxxxxxxxxxxxxxxxxxxxxx> | 
 
| 
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:  | 
<20070227081337.434798469@xxxxxxxx>		<20070227081632.356636957@xxxxxxxx>		<1172589358.3408.2.camel@xxxxxxxxxxxxxxxxxxxxxxxx>		<45E46889.9090801@xxxxxxxx>	<1172597726.3408.25.camel@xxxxxxxxxxxxxxxxxxxxxxxx> | 
 
| 
Sender:  | 
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx | 
 
| 
User-agent:  | 
Thunderbird 1.5.0.9 (X11/20070212) | 
 
 
 
James Bottomley wrote:
> On Tue, 2007-02-27 at 09:21 -0800, Jeremy Fitzhardinge wrote:
>   
>> You mean add the two stubs to asm-generic/mmu_context.h, and then
>> include that in all these files?  That would be cleaner, but it
>> wouldn't
>> remove the need to touch all these files, would it?
>>     
>
> it would if you added asm-generic/mmu_context_paravirt.h
>   
include/asm-generic isn't in the compile include path; its contents are
only ever used if they're explicitly included by some other asm/
header.  I seem to remember there was some debate about this, but I
don't really understand the rationale for the current arrangement; it
makes sense to me to have asm-generic as a set of fallback default includes.
> and only included that in the main kernel files that need the three
> operations (that's just fork.c and mmap.c, isn't it)?
>   
Yeah, it's really only two operations.  activate_mm happens in arch code
anyway, so there's no need to make a fuss about it.
    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 04/26] Xen-paravirt_ops: Add pagetable accessors to pack and unpack pagetable entries, (continued)
 
 
[Xen-devel] [patch 17/26] Xen-paravirt_ops: Add nosegneg capability	to the vsyscall page notes, Jeremy Fitzhardinge
[Xen-devel] [patch 07/26] Xen-paravirt_ops: Allow paravirt backend	to choose kernel PMD sharing, Jeremy Fitzhardinge
[Xen-devel] [patch 09/26] Xen-paravirt_ops: remove	HAVE_ARCH_MM_LIFETIME, define no-op architecture implementations, Jeremy Fitzhardinge
- [Xen-devel] Re: [patch 09/26] Xen-paravirt_ops: remove	HAVE_ARCH_MM_LIFETIME, define no-op architecture implementations, James Bottomley
- [Xen-devel] Re: [patch 09/26] Xen-paravirt_ops: remove HAVE_ARCH_MM_LIFETIME, define no-op architecture implementations, Jeremy Fitzhardinge
 - [Xen-devel] Re: [patch 09/26] Xen-paravirt_ops: remove	HAVE_ARCH_MM_LIFETIME, define no-op architecture implementations, James Bottomley
 - [Xen-devel] Re: [patch 09/26] Xen-paravirt_ops: remove HAVE_ARCH_MM_LIFETIME, define no-op architecture implementations,
Jeremy Fitzhardinge <=
 - [Xen-devel] Re: [patch 09/26] Xen-paravirt_ops: remove	HAVE_ARCH_MM_LIFETIME, define no-op architecture implementations, James Bottomley
 - [Xen-devel] Re: [patch 09/26] Xen-paravirt_ops: remove HAVE_ARCH_MM_LIFETIME, define no-op architecture implementations, Jeremy Fitzhardinge
 - [Xen-devel] Re: [patch 09/26] Xen-paravirt_ops: remove	HAVE_ARCH_MM_LIFETIME, define no-op architecture implementations, James Bottomley
 
  
 
[Xen-devel] [patch 11/26] Xen-paravirt_ops: Use patch site IDs	computed from offset in paravirt_ops structure, Jeremy Fitzhardinge
[Xen-devel] [patch 05/26] Xen-paravirt_ops: paravirt_ops: hooks to	set up initial pagetable, Jeremy Fitzhardinge
[Xen-devel] [patch 21/26] Xen-paravirt_ops: Use the hvc console	infrastructure for Xen console, Jeremy Fitzhardinge
[Xen-devel] [patch 14/26] Xen-paravirt_ops: add common patching	machinery, Jeremy Fitzhardinge
[Xen-devel] [patch 13/26] Xen-paravirt_ops: Consistently wrap	paravirt ops callsites to make them patchable, Jeremy Fitzhardinge
 |  
  
 | 
    |