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] Maybe doman_destroy() was not called?

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] Maybe doman_destroy() was not called?
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Tue, 21 Aug 2007 09:27:45 +0900
Delivery-date: Mon, 20 Aug 2007 17:28:32 -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 all,

I tested xm create command with latest xen-ia64-unstable and the 
attached patch.  The attached patch intentionally causes contiguous 
memory shortage in VHPT allocation for HVM domain.  On the test, 
I wanted to confirm that the release proceeding of domain resources 
is working correctly when HVM domain creation failed.  But I could 
not confirm that it is working correctly.  It seemed to be not 
calling domain_destroy(). 
The following messages are the result of the test.  Different RID 
was allocated whenever I created a HVM domain. 
Do you think where a bug hides? 

 (XEN) domain.c:546: arch_domain_create:546 domain 1 pervcpu_vhpt 1
 (XEN) tlb_track.c:69: allocated 256 num_entries 256 num_free 256
 (XEN) tlb_track.c:115: hash 0xf0000002fd350000 hash_size 512
 (XEN) regionreg.c:193: ### domain f0000000040fc080: rid=80000-c0000 mp_rid=2000
 (XEN) domain.c:583: arch_domain_create: domain=f0000000040fc080
 (XEN) vpd base: 0xf000000007be0000, vpd size:65536
 (XEN) No enough contiguous memory(16384KB) for init_domain_vhpt
 (XEN) domain.c:546: arch_domain_create:546 domain 2 pervcpu_vhpt 1
 (XEN) tlb_track.c:69: allocated 256 num_entries 256 num_free 256
 (XEN) tlb_track.c:115: hash 0xf0000002f6f8c000 hash_size 512
 (XEN) regionreg.c:193: ### domain f000000004109380: rid=c0000-100000 
mp_rid=3000
 (XEN) domain.c:583: arch_domain_create: domain=f000000004109380
 (XEN) vpd base: 0xf000000007b90000, vpd size:65536
 (XEN) No enough contiguous memory(16384KB) for init_domain_vhpt
 (XEN) domain.c:546: arch_domain_create:546 domain 3 pervcpu_vhpt 1
 (XEN) tlb_track.c:69: allocated 256 num_entries 256 num_free 256
 (XEN) tlb_track.c:115: hash 0xf0000002f676c000 hash_size 512
 (XEN) regionreg.c:193: ### domain f000000007bf1380: rid=100000-140000 
mp_rid=4000
 (XEN) domain.c:583: arch_domain_create: domain=f000000007bf1380
 (XEN) vpd base: 0xf000000007b50000, vpd size:65536
 (XEN) No enough contiguous memory(16384KB) for init_domain_vhpt

Best regards,
 Kan

Attachment: test_vhpt.patch
Description: Binary data

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