From: Keir Fraser Subject: Re: vcpu_pause Date: Sun, 04 Mar 2007 11:56:25 +0000 Message-ID: References: <45E85C62.E57C.0030.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45E85C62.E57C.0030.0@novell.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: Ky Srinivasan , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Synchronous vcpu_pause() and domain_pause() are only used on paths executable in dom0 context. Hence there is no loop in the graph of domain-X-can-pause-domain-Y, and we'll need to maintain that asymmetry when we disaggregate dom0. For now, a BUG_ON(current->domain != dom0) in vcpu_sleep_sync() would probably make things clearer. -- Keir On 2/3/07 23:26, "Ky Srinivasan" wrote: > What are the expected entry conditions to call vcpu_pause. How do we guarantee > two vcpus don't deadlock by calling pause on each other. > > Regards, > > K. Y > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel