From: Keir Fraser Subject: Re: Need help with fixing the Xen waitqueue feature Date: Tue, 22 Nov 2011 21:53:35 +0000 Message-ID: References: <20111122211519.GA1039@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20111122211519.GA1039@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 21:15, "Olaf Hering" wrote: > On Tue, Nov 22, Olaf Hering wrote: > >> On Tue, Nov 22, Keir Fraser wrote: >> >>> Could it have ended up on the waitqueue? >> >> Unlikely, but I will add checks for that as well. > > I posted three changes which make use of the wait queues. > For some reason the code at the very end of p2m_mem_paging_populate() > triggers when d is dom0, so its vcpu is put to sleep. We obviously can't have dom0 going to sleep on paging work. This, at least, isn't a wait-queue bug. > Olaf