WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] Re: [RFC PATCH 01/33] Add apply_to_page_range() function

To: Chris Wright <chrisw@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: [RFC PATCH 01/33] Add apply_to_page_range() function
From: Adrian Bunk <bunk@xxxxxxxxx>
Date: 2006年7月20日 08:17:15 +0200
Cc: Andrew Morton <akpm@xxxxxxxx>, Zachary Amsden <zach@xxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Ian Pratt <ian.pratt@xxxxxxxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Andi Kleen <ak@xxxxxxx>, virtualization@xxxxxxxxxxxxxx, Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
Delivery-date: 2006年7月20日 05:32:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060718192925.GC2654@xxxxxxxxxxxxxxxxxxxx>
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: <20060718091807.467468000@xxxxxxxxxxxx> <20060718091945.432845000@xxxxxxxxxxxx> <20060718103850.GD3748@xxxxxxxxx> <20060718192925.GC2654@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006年07月14日
On Tue, Jul 18, 2006 at 12:29:25PM -0700, Chris Wright wrote:
> * Adrian Bunk (bunk@xxxxxxxxx) wrote:
> > On Tue, Jul 18, 2006 at 12:00:01AM -0700, Chris Wright wrote:
> > >...
> > > --- a/mm/memory.c Fri Mar 24 04:29:46 2006 +0000
> > > +++ b/mm/memory.c Fri Mar 24 04:30:48 2006 +0000
> > > @@ -1358,6 +1358,100 @@ int remap_pfn_range(struct vm_area_struc
> > > }
> > > EXPORT_SYMBOL(remap_pfn_range);
> > > 
> > > +static inline int apply_to_pte_range(struct mm_struct *mm, pmd_t *pmd,
> > > + unsigned long addr, unsigned long end,
> > > + pte_fn_t fn, void *data)
> > >...
> > > +static inline int apply_to_pmd_range(struct mm_struct *mm, pud_t *pud,
> > > + unsigned long addr, unsigned long end,
> > > + pte_fn_t fn, void *data)
> > >...
> > > +static inline int apply_to_pud_range(struct mm_struct *mm, pgd_t *pgd,
> > > + unsigned long addr, unsigned long end,
> > > + pte_fn_t fn, void *data)
> > >...
> > 
> > Please avoid "inline" in C files.
> > 
> > (gcc already automatically inlines static functions with only one caller.)
>
> Sure, that's fair. The surrounding similar code follows the same format 
> as above, perhaps you plan to patch?
Already part of a bigger item on my TODO list for some months.
Priority: low...
cu
Adrian
-- 
 "Is there not promise of rain?" Ling Tan asked suddenly out
 of the darkness. There had been need of rain for many days.
 "Only a promise," Lao Er said.
 Pearl S. Buck - Dragon Seed
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Re: [RFC PATCH 31/33] Add Xen subarch reboot support , Adrian Bunk
Next by Date: [Xen-devel] Re: [RFC PATCH 09/33] Add start-of-day setup hooks to subarch , Keir Fraser
Previous by Thread: [Xen-devel] Re: [RFC PATCH 01/33] Add apply_to_page_range() function , Chris Wright
Next by Thread: [Xen-devel] [RFC PATCH 21/33] subarch support for control register accesses , Chris Wright
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /