]> xenbits.xensource.com Git - people/pauldu/xeniface.git/commit
Use a DPC per XENIFACE_EVTCHN_CONTEXT for signalling to user space
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 10 Dec 2015 12:38:28 +0000 (12:38 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Thu, 10 Dec 2015 13:00:48 +0000 (13:00 +0000)
commit2eef90a225b951303bb7059112f62aeb5245d90d
tree4e57fce682d0eab969801b96a993d4cde771c3fa
parent22cd6808885fd7df06c8d1691638b6f906c8171c
Use a DPC per XENIFACE_EVTCHN_CONTEXT for signalling to user space

The scheme of using a DPC per CPU will not work when multiple event channels
are in use since events may be lost when channels bound to the same CPU
are simultaneously pending. The problem is avoided by simply having
separate DPCs for each channel.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Cc: Rafal Wojdyla <omeg@invisiblethingslab.com>
src/xeniface/fdo.c
src/xeniface/fdo.h
src/xeniface/ioctl_evtchn.c
src/xeniface/ioctls.h