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 and HYPERVISOR_yield()

On Tue, Oct 09, 2007 at 10:23:19AM +0900, Atsushi SAKAI wrote:

> Do you find any problem in your test (by HYPERVISOR_yield())?
> Please describe your problem at first.

The problem is over semantics of HYPERVISOR_yield(). We use this after
doing an IPI when we want to wait for the other CPU to respond before
continuing. If we're just going into the hypervisor and straight back
out again until our credit expires, then it's clearly sub-optimal for
this case.

I haven't looked hard at the implementation, or even verified this
behaviour, but it does look like that.

regards
john

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