From: John Levon Subject: Re: credit scheduler and HYPERVISOR_yield() Date: Tue, 9 Oct 2007 13:15:33 +0100 Message-ID: <20071009121533.GA30258@totally.trollied.org.uk> References: <20071008234118.GA1396@totally.trollied.org.uk> <7e903d73fbea1bb8ca97396fef058b2b@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <7e903d73fbea1bb8ca97396fef058b2b@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Emmanuel Ackaouy Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Oct 09, 2007 at 09:06:14AM +0200, Emmanuel Ackaouy wrote: > The expected behavior of yield() (or any schedule operation really) is > that the current VCPU will be placed on the runq behind all VCPUs of > equal or greater priority. > > Looking at __runq_insert() in sched_credit.c, it looks correct to me in > that respect. > > Can you clarify what's going wrong? It looks fine... no idea how I misread the code. sorry, john