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 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH] p2m: merge ptp allocation

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: [Xen-devel] Re: [PATCH] p2m: merge ptp allocation
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Tue, 13 Apr 2010 11:22:21 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 13 Apr 2010 03:23:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201004131125.40545.Christoph.Egger@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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <201004131125.40545.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
Hi, 

At 10:25 +0100 on 13 Apr (1271154340), Christoph Egger wrote:
> Attached patch merges ptp allocation in p2m.
> 
> Signed-off-by: Christoph Egger <Christop.Egger@xxxxxxx>

> diff -r 105fdf064d27 xen/arch/x86/mm/hap/private.h
> --- a/xen/arch/x86/mm/hap/private.h   Tue Apr 13 10:35:24 2010 +0200
> +++ b/xen/arch/x86/mm/hap/private.h   Tue Apr 13 10:59:55 2010 +0200
> @@ -30,5 +30,6 @@ unsigned long hap_gva_to_gfn_3_levels(st
>  unsigned long hap_gva_to_gfn_4_levels(struct vcpu *v, unsigned long gva,
>                                       uint32_t *pfec);
>  
> +struct page_info *p2m_alloc_ptp(struct domain *d, unsigned long type);

Why is this declared in hap/private.h when it's not a hap function?
Maybe asm-x86/p2m.h would be a better place. 

Otherwise, Ack.

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, XenServer Engineering
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>