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

[Xen-ia64-devel] [PATCH] Return ENOMEM if VPD allocation failed

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] Return ENOMEM if VPD allocation failed
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Thu, 10 May 2007 21:01:04 +0900
Delivery-date: Thu, 10 May 2007 05:00:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
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. 


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?


Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: alloc_vpd.patch
Description: Binary data

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