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-ia64-devel

Re: [Xen-ia64-devel] [PATCH] SMP_HOST: Alloc vhpt from domheap

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] SMP_HOST: Alloc vhpt from domheap
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 27 Feb 2006 14:17:50 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 27 Feb 2006 05:18:06 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2BF508F394C196468CCBEC031320DCDF3808F6@pdsmsx405>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <2BF508F394C196468CCBEC031320DCDF3808F6@pdsmsx405>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Hi Anthony.

struct domain->max_pages is used for two purposes currently.
a) to account pages allocated for a domain.
   (by xen/common/page_alloc.c)
b) maximal pseudo physical address.
   (e.g. lookup_domain_mpa() in xen/arch/ia64/domain.c and others)

This patch breaks b). Somethings needs to be adjusted.
Maybe it is needed to add a new member to struct arch_domain for b)
and to compensate max_pages at domain construction.


How do you think about accounting pages which is used
for struct arch_domain->mm?
Please see pgtable_quick_list_alloc() in xen/arch/ia64/xen/xenmis.c.

Thanks.

On Fri, Feb 24, 2006 at 10:42:11AM +0800, Xu, Anthony wrote:
> It's more reasonable to alloc vhpt from domheap, instead of xenheap.
> 
> Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx> 
> 
> Thanks,
> -Anthony 


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

-- 
yamahata

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