From: Keir Fraser Subject: Re: Re: how to handle paged hypercall args? Date: Tue, 07 Dec 2010 16:45:27 +0000 Message-ID: References: <20101207092515.GB22174@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20101207092515.GB22174@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, Jan Beulich List-Id: xen-devel@lists.xenproject.org On 07/12/2010 09:25, "Olaf Hering" wrote: > On Thu, Dec 02, Keir Fraser wrote: > >> Since your current patch is conceptually quite broken anyway, there is >> little point in chasing down the crash. It might have something to do with >> allocating the waitqueue_head on the local stack -- which you would never >> want to do in a correct usage of waitqueues. So, back to square one and try >> again I'm afraid. > > Keir, > > yesterday I sent out my patch queue for xen-unstable. I think the > approach to wait the active vcpu in p2m_mem_paging_populate() and wakeup > the vcpu in p2m_mem_paging_resume() could work. > However, something causes what looks like stack corruption. > > Any idea whats going on? No, I did some unit testing of the waitqueue stuff and it worked for me. Perhaps you can suggest some reproduction steps. K. > Olaf >