linux/drivers/xen/xenfs
Daniel De Graaf 76ce7618f9 xenbus: add missing wakeup in concurrent read/write
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@tycho.nsa.gov>

commit e752969f502a511e83f841aa01d6cd332e6d85a0
Author: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Date:   Tue Sep 7 11:21:52 2010 -0400

    xenbus: fix deadlock in concurrent read/write

    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.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
2010-09-08 23:18:02 +10:00
..
Makefile xen: add xenfs to allow usermode <-> Xen interaction 2009-01-08 08:30:59 -08:00
super.c xen: add "capabilities" file 2009-03-30 09:59:20 -07:00
xenbus.c xenbus: add missing wakeup in concurrent read/write 2010-09-08 23:18:02 +10:00
xenfs.h xen: add xenfs to allow usermode <-> Xen interaction 2009-01-08 08:30:59 -08:00