From: "Jan Beulich" Subject: Re: Question to [PATCH 2 of 3] PoD: Allow pod_set_cache_target hypercall to be preempted Date: Tue, 15 Mar 2011 09:40:56 +0000 Message-ID: <4D7F42380200007800036869@vpn.id2.novell.com> References: <201103151000.12411.dietmar.hahn@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <201103151000.12411.dietmar.hahn@ts.fujitsu.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dietmar Hahn Cc: George Dunlap , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 15.03.11 at 10:00, Dietmar Hahn = wrote: > I had a look at hypercall_create_continuation() and my understanding is = that > the caller on this cpu is prepared to start the hypercall again after > getting scheduled next time and the hypercall is finished immediately to > deliver irqs and events. > But what about the other cpus in dom0? Are these waiting for an = irq/event=20 > from the cpu handling the long running hypercall? > How do these benefit from this hypercall continuation? One vCPU stuck in a long running hypercall can, depending on what locks/mutexes/semaphores it holds, keep other vCPU-s in the same domain from making progress. Whether that's what happens in your case can only be determined by looking at what those other vCPU-s were doing (or trying to do) at the time of the hang (from SysRq-t or '0' [or 'd'] debug key output). Jan