CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/02/08 09:15:52
Modified files:
sys/dev/pv : xen.c xenvar.h
Log message:
Introduce Xen interrupt barriers
intr_barrier(9) is useful to make sure that after an interrupt is
masked, the interrupt handler for the device has finished executing
before proceeding with further device configuration.
However, since Xen interrupt handlers run in the thread context, we
need to make sure that they have finished as well. By scheduling a
xen_barrier_task modelled after (or rather copied ;) ifq_barrier_task
we can ensure that the interrupt handler is no longer running.