Roman
Roman

Reputation: 1466

Interrupt handling in linux. Interrupts sharing

Here's my question. Manuals say: "when the kernel receives an interrupt, all the registered handlers are invoked." And I wonder if there is any rule, specifying an order in which handlers will be invoked?

Upvotes: 1

Views: 802

Answers (1)

wallyk
wallyk

Reputation: 57764

The kernel function request_irq calls setup_irq (in kernel/irq/manage.c). They are chained in the order they were associated with the IRQ. That is, each ISR is added to the end of the list.

Upvotes: 2

Related Questions