From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Smith Subject: Re: [PATCH] workaround for bug#197: second try Date: Tue, 13 Sep 2005 12:23:40 -0700 Message-ID: <87u0go7ow3.fsf@us.ibm.com> References: <20050909220719.GP8187@us.ibm.com> <20050912212740.GB8009@us.ibm.com> <20050913182219.GA11410@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20050913182219.GA11410@us.ibm.com> (Ryan Harper's message of "Tue, 13 Sep 2005 13:22:19 -0500") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ryan Harper Cc: xen-devel@lists.xensource.com, "Puthiyaparambil, Aravindh" List-Id: xen-devel@lists.xenproject.org RH> This patch switches the &&s to ||s and inverts the RH> domain_runnable() check. I believe we want to spin while 1) RH> vcpu_running flag is up 2) the domain is runnable and 3) the RH> scheduler lock is held. This fixed it for me as well... Thanks Ryan! -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com