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] [PATCH] xenbus: add missing wakeup in concurrent read/wr

To: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xenbus: add missing wakeup in concurrent read/write
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Wed, 08 Sep 2010 09:34:08 +1000
Cc: "Jun Zhu \(Intern\)" <Jun.Zhu@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 07 Sep 2010 16:34:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C865D5A.5040705@xxxxxxxxxxxxx>
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>
References: <4C865D5A.5040705@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Lightning/1.0b2pre Thunderbird/3.1.2
 On 09/08/2010 01:42 AM, Daniel De Graaf wrote:
> If an application has a dedicated read thread watching xenbus and
> another thread writes an XS_WATCH message that generates a synthetic
> "OK" reply, this reply will be enqueued in the buffer without waking up
> the reader. This can cause a deadlock in the application if it then
> waits for the read thread to receive the queued message.
>
> Signed-off-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>

Thanks.  Jun Zhu, does this fix the problem you were reporting?

    J

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

<Prev in Thread] Current Thread [Next in Thread>