]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
Use EVTCHNOP_unmask to unmask in some cases
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 11 Nov 2014 13:33:48 +0000 (13:33 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Tue, 11 Nov 2014 13:38:45 +0000 (13:38 +0000)
commit03922d739bdf99f00ec906e2bc2f70f287735937
treed58a751bd0de429e12e046a1c52ea38bb4e6d0f9
parentddedbebb6326576c6465592773244f88feb0535f
Use EVTCHNOP_unmask to unmask in some cases

If the EVTCHN Unmask method is called in context of the event channel
upcall, or on a CPU to which the event is not bound then use the unmask
hypercall. In the former case not doing this may lead to priorty
inversion once setting event channel priorities is enabled. In the latter
case not doing it again stops a lower priority event handler trigger from
blocking a higher priority event injection.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
include/xen.h
src/xen/event_channel.c
src/xenbus/evtchn.c
src/xenbus/evtchn_fifo.c
src/xenbus/shared_info.c