freebsd-dev/sys/dev/xen
Roger Pau Monné 5f8f664619 xenstore: remove the suspend sx lock
There's no need to prevent suspend while doing xenstore transactions,
callers of transactions are supposed to be prepared for a transaction
to fail.

This fixes a bug that could be triggered from the xenstore user-space
device, since starting a transaction from user-space would result in
returning there with a sx lock held, that causes a WITNESS check to
trigger.

Tested by:      Nathan Friess <nathan.friess@gmail.com>
Sponsored by:   Citrix Systems R&D
2018-05-24 10:16:11 +00:00
..
balloon
blkback xen-blkback: do not use state 3 (XenbusStateInitialised) 2018-05-22 08:51:16 +00:00
blkfront Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
console
control sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
debug
evtchn
gntdev xen: fix gntdev 2018-05-02 10:19:17 +00:00
grant_table
netback Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
netfront ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
pci
pcifront sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
privcmd Remove unneeded include of vm_phys.h. 2017-04-17 16:51:04 +00:00
pvcpu
timer sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
xenpci sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
xenstore xenstore: remove the suspend sx lock 2018-05-24 10:16:11 +00:00