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

RE: [Xen-devel] credit scheduler issues in 64bit hypervisor

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] credit scheduler issues in 64bit hypervisor
From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Date: Sun, 2 Jul 2006 23:45:39 +0800
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Steven Hand <Steven.Hand@xxxxxxxxxxxx>, "Zheng, Jeff" <jeff.zheng@xxxxxxxxx>
Delivery-date: Sun, 02 Jul 2006 08:46:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acad7WiSAsiCk94gS8WozTLScaglxwAAOxSw
Thread-topic: [Xen-devel] credit scheduler issues in 64bit hypervisor
>> Hmm, I still prefer allocating VMCS just before launching, can you
>> explain your concerns?
>
>If the VMCS allocation fails you have no path for indicating 
>failure to 
>the caller -- context switch is always expected to succeed. Critical 
>dynamic allocations should really happen on domain/vcpu creation. Also 
>the short VMCS lifetime (first launch to dom0_destroy) means that 
>getvcpucontext at other times -- on a very new HVM guest or one very 
>close to death -- probably crashes or hangs right now.
>

OK, that's reasonable :-), I'll send out the patch.
Thanks
-Xin

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