WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Olaf Hering <olaf@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: how to handle paged hypercall args?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:cc:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=qmmdviI8QZ3Y2cmY1Ou1brd3mcbrGl+56dhCQ3q57IY=; b=RtxaV3Zr3lCs453LwLA5dUH2AlrJEsFPYLPHxfpwaVdee89Qu0+I+B3ZVHU2/xOM7F jPwqsk9yBa6iN7eut4lEBR+fcPn3XYkbXcVZrDxRCNl1/ZnUwKlGNlJS278JRTh+vrQF JuMEHmrWjZMn11RuwA5jzuTLcrvAe1bHxXmIo=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101207092515.GB22174@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuWLiaS3aoGUQjbck6bz7b8Mv5nvw==
Thread-topic: [Xen-devel] Re: how to handle paged hypercall args?
User-agent: Microsoft-Entourage/12.27.0.100910
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