[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: how to handle paged hypercall args?


  • To: Olaf Hering <olaf@xxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Tue, 07 Dec 2010 16:45:27 +0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Jan Beulich <JBeulich@xxxxxxxxxx>
  • Delivery-date: Tue, 07 Dec 2010 08:46:22 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=bThFldk3l7LAW6nVpsflrFaWkgr+zKrsF17q43ub5ayFGWG3dg37bUUx2gZwAKQmtp 3sMceQbp/nvUg5835SYkj9EGV7bubVzeR3SFTuKSJMtQ8gYYPSGuvjwBycnMCy3naR/8 ELcY+xntOIIWYoJ3BDX1YM8Wersupdtbd5IrM=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcuWLiaS3aoGUQjbck6bz7b8Mv5nvw==
  • Thread-topic: [Xen-devel] Re: how to handle paged hypercall args?

On 07/12/2010 09:25, "Olaf Hering" <olaf@xxxxxxxxx> 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
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.