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: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] xenbus: add missing wakeup in concurrent read/write
From: "Jun Zhu (Intern)" <Jun.Zhu@xxxxxxxxxx>
Date: Wed, 8 Sep 2010 11:51:12 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 08 Sep 2010 03:54:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C86CBF0.3040907@xxxxxxxx>
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>,<4C86CBF0.3040907@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActO5TWWD+1qIoBIQFKaOvsse+w+1QAXosMG
Thread-topic: [Xen-devel] [PATCH] xenbus: add missing wakeup in concurrent read/write
That's right!  Thanks.

Jun Zhu
Citrix Systems UK
________________________________________
From: Jeremy Fitzhardinge [jeremy@xxxxxxxx]
Sent: 07 September 2010 19:34
To: Daniel De Graaf
Cc: xen-devel; Jun Zhu (Intern)
Subject: Re: [Xen-devel] [PATCH] xenbus: add missing wakeup in concurrent 
read/write

 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>