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] Return ENOMEM if VPD allocation failed

To: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] Return ENOMEM if VPD allocation failed
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Fri, 11 May 2007 13:52:46 -0600
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 11 May 2007 13:03:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <29C792FAE26E79kanno.masaki@xxxxxxxxxxxxxx>
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>
Organization: OSLO R&D
References: <29C792FAE26E79kanno.masaki@xxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2007-05-10 at 21:01 +0900, Masaki Kanno wrote:
> Hi,
> 
> Usually ASSRET() is "(void)0".  Therefore if VPD allocation 
> fails with xenheap shortage or fragmentation, NULL pointer 
> access occurs in vmx_final_setup_guest(). 
> This patch fixes it. 

   Applied, thanks.

> BTW, I succeeded to creating 60 UP-domains.  But I failed to 
> creating many SMP-domains with xenheap shortage.  I failed 
> in the following environments. 
>  - 55 domains, and
>  - each 5 vcpus
> 
> If we would like to support many domains and many vcpus, 
> I think that we should expand xenheap. 
> I think that the simplest method is changing PS of ITR[0] 
> and DTR[0] to 256M byte.  Do you have good ideas?

   I agree with the comments others have made.  If we need to increase
xenheap to support more domains, let's do it.  However, we should keep
in mind that we're not all that far from the maximum number of domains
we'd hit from our RID partitioning, so understanding where the xenheap
memory is being allocated may allow us to get by w/o increasing it.
Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


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

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