[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.