From: Keir Fraser Subject: Re: Need help with fixing the Xen waitqueue feature Date: Tue, 22 Nov 2011 13:04:25 +0000 Message-ID: References: <20111122114057.GA28583@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20111122114057.GA28583@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 22/11/2011 11:40, "Olaf Hering" wrote: > On Sat, Nov 12, Keir Fraser wrote: > >> On 11/11/2011 22:56, "Olaf Hering" wrote: >> >> So you run with a single CPU, and with wait_event() in one location, and >> that works for a while (actually doing full waitqueue work: executing wait() >> and wake_up()), but then hangs? That's weird, but pretty interesting if I've >> understood correctly. > > Yes, thats what happens with single cpu in dom0 and domU. > I have added some more debug. After the backtrace below I see one more > call to check_wakeup_from_wait() for dom0, then the host hangs hard. I think I checked before, but: also unresponsive to serial debug keys? And dom0 isn't getting put on a waitqueue I assume? Since I guess dom0 is doing the work to wake things from the waitqueue, that couldn't go well. :-) >>> Also, the 3K stacksize is still too small, this path uses 3096. >> >> I'll allocate a whole page for the stack then. > > Thanks. Forgot about it. Done now! -- Keir > > Olaf