summaryrefslogtreecommitdiffstats
path: root/lib/libstdthreads
diff options
context:
space:
mode:
authorroyger <royger@FreeBSD.org>2015-02-26 16:05:09 +0000
committerroyger <royger@FreeBSD.org>2015-02-26 16:05:09 +0000
commit4be3c8764016817f6db92dd567f6d84e6ba74967 (patch)
tree150eae6d2ff1499ba6ea0835233ff985e5fdd091 /lib/libstdthreads
parent8d60cb601f02453f8810921c1690468de9f28bee (diff)
downloadFreeBSD-src-4be3c8764016817f6db92dd567f6d84e6ba74967.zip
FreeBSD-src-4be3c8764016817f6db92dd567f6d84e6ba74967.tar.gz
xen/intr: fix fallout from r278854
r278854 introduced a race in the event channel handling code. We must make sure that the pending bit is cleared before executing the filter, or else we might miss other events that would be injected after the filter has ran but before the pending bit is cleared. While there also mask event channels while FreeBSD executes the ithread bound to that event channel. This refrains Xen from injecting more interrupts while the ithread has not finished it's work. Sponsored by: Citrix Systems R&D Reported by: sbruno, robak Tested by: robak
Diffstat (limited to 'lib/libstdthreads')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud