A method and device for dynamically targeting interrupts in a computer
system. When an operation is initiated, an identifier for the initiator
of the operation is stored along with an operation identifier. When an
operation completes or needs processor attention due to an error
condition or otherwise, the processor or node to interrupt is determined
based on the stored indication of the initiator of the operation. An
interrupt target data structure may be provided that contains
associations between sources that initiate operations and those targets
that can service interrupts. If a target scheduled to field an interrupt
becomes unavailable, the interrupt can be retargeted to another processor
or node by reloading an entry in the interrupt target data structure.