diff options
author | royger <royger@FreeBSD.org> | 2015-12-15 11:20:20 +0000 |
---|---|---|
committer | royger <royger@FreeBSD.org> | 2015-12-15 11:20:20 +0000 |
commit | 7330ea873340f2c45f4ce57a83881226f441e142 (patch) | |
tree | cf27e87af29518c3dd199b71f6e735fd3cb274d8 /contrib/llvm/lib/CodeGen/MachineSSAUpdater.cpp | |
parent | 33a03a57b123cb0e01504766b1fc73b8acc27868 (diff) | |
download | FreeBSD-src-7330ea873340f2c45f4ce57a83881226f441e142.zip FreeBSD-src-7330ea873340f2c45f4ce57a83881226f441e142.tar.gz |
hyperv/kvp: wake up the daemon if it's sleeping due to poll()
Without the patch, there is a race condition: when poll() is invoked(),
if kvp_globals.daemon_busy is false, the daemon won't be timely
woke up, because hv_kvp_send_msg_to_daemon() can't wake up the daemon
in this case.
Submitted by: Dexuan Cui <decui@microsoft.com>
Sponsored by: Microsoft OSTC
Reviewed by: delphij, royger
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D4258
Diffstat (limited to 'contrib/llvm/lib/CodeGen/MachineSSAUpdater.cpp')
0 files changed, 0 insertions, 0 deletions