Provided are techniques for interrupt processing. An Input/Output device
determines that an event has occurred. The Input/Output device determines
a state of an event data structure. The Input/Output device writes an
event entry into the event data structure in response to determining that
the event has occurred. After writing the event entry, the Input/Output
device determines whether to generate an interrupt or not based on the
state of the event data structure.Additionally provided are techniques
for interrupt processing in which an I/O device driver determines that an
interrupt has occurred. The I/O device driver reads an event entry in an
event data structure in response to determining that the interrupt has
occurred. The I/O device driver updates a state of a structure state
indicator to enable/disable interrupts.