linux/drivers/xen/xenbus
Ian Campbell 4c31a78114 xenbus: do not hold transaction_mutex when returning to userspace
================================================
  [ BUG: lock held when returning to user space! ]
  ------------------------------------------------
  xenstore-list/3522 is leaving the kernel with locks still held!
  1 lock held by xenstore-list/3522:
   #0:  (&xs_state.transaction_mutex){......}, at: [<c026dc6f>] xenbus_dev_request_and_reply+0x8f/0xa0

The canonical fix for this type of issue appears to be to maintain a
count manually rather than using an rwsem so do that here.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
2009-11-03 14:35:59 -08:00
..
Makefile
xenbus_client.c
xenbus_comms.c
xenbus_comms.h
xenbus_probe.c xen/xenbus: export xenbus_dev_changed 2009-03-30 09:26:56 -07:00
xenbus_probe.h
xenbus_xs.c xenbus: do not hold transaction_mutex when returning to userspace 2009-11-03 14:35:59 -08:00