freebsd-skq/sys/dev/hyperv
Wei Hu b3460f4452 Hyper-V: hn: Relinquish cpu in HN_LOCK to avoid deadlock
The try lock loop in HN_LOCK put the thread spinning on cpu if the lock
is not available. It is possible to cause deadlock if the thread holding
the lock is sleeping. Relinquish the cpu to work around this problem even
it doesn't completely solve the issue. The priority inversion could cause
the livelock no matter how less likely it could happen. A more complete
solution may be needed in the future.

Reported by:	Microsoft, Netapp
MFC after:	2 weeks
Sponsored by:	Microsoft
2020-10-15 11:44:28 +00:00
..
hvsock Socket AF_HYPERV should return failure when it is not running on HyperV 2020-05-22 09:17:07 +00:00
include HyperV socket implementation for FreeBSD 2020-05-20 11:03:59 +00:00
input Revert r355806: kbd drivers: don't double register keyboard drivers 2019-12-26 17:09:36 +00:00
netvsc Hyper-V: hn: Relinquish cpu in HN_LOCK to avoid deadlock 2020-10-15 11:44:28 +00:00
pcib Hyper-V: pcib: Check revoke status during device attach 2020-10-15 05:57:20 +00:00
storvsc Hyper-V: storvsc: Enhance srb_status code handling. 2020-08-31 09:05:45 +00:00
utilities
vmbus Prevent framebuffer mmio space from being allocated to other devices on HyperV. 2020-07-30 07:26:11 +00:00