[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] xenstore: Fix deadlock in xs_read_watch
When read_message returns -1 while a read is pending, an attempt is made to lock h->request_mutex which is already locked by the reader. Change the read thread to only exit on thread cancellation, where read_thr_exists will return 0. Signed-off-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> -- Daniel De Graaf National Security Agency Attachment:
deadlock-fix.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |