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 |
||
---|---|---|
.. | ||
hvsock | ||
include | ||
input | ||
netvsc | ||
pcib | ||
storvsc | ||
utilities | ||
vmbus |