From: Dietmar Hahn Subject: Re: Question to [PATCH 2 of 3] PoD: Allow pod_set_cache_target hypercall to be preempted Date: Tue, 15 Mar 2011 13:01:49 +0100 Message-ID: <201103151301.50029.dietmar.hahn@ts.fujitsu.com> References: <201103151000.12411.dietmar.hahn@ts.fujitsu.com> <4D7F42380200007800036869@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0452173936==" Return-path: In-Reply-To: <4D7F42380200007800036869@vpn.id2.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: Jan Beulich Cc: George Dunlap , xen-devel List-Id: xen-devel@lists.xenproject.org --===============0452173936== Content-Type: multipart/alternative; boundary="Boundary-01=_uU1fNsdr383meBA" Content-Transfer-Encoding: 7bit --Boundary-01=_uU1fNsdr383meBA Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Am 15.03.2011 schrieb "Jan Beulich ": > >>> 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 > > 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 > OK, thanks! Dietmar. -- Company details: http://ts.fujitsu.com/imprint.html --Boundary-01=_uU1fNsdr383meBA Content-Type: text/html; charset="iso-8859-15" Content-Transfer-Encoding: 7bit

Am 15.03.2011 schrieb "Jan Beulich <JBeulich@novell.com>":

> >>> On 15.03.11 at 10:00, Dietmar Hahn <dietmar.hahn@ts.fujitsu.com> 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

> > 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

>


OK, thanks!


Dietmar.


--

Company details: http://ts.fujitsu.com/imprint.html

--Boundary-01=_uU1fNsdr383meBA-- --===============0452173936== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0452173936==--