Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Following is the sequence of events:

  1. interrupt generated at line 1.
  2. line 1 disable.
  3. ISR executed. Set sofirq bit 1
  4. line 1 enable.
  5. softirq executes and suddenly interrupts come at line 1.
  6. softirq preempted.
  7. ISR executed. softirq bit 1 (it was aready 1 as sofirq 1 was not executed completely)
  8. line 1 enable.

Now which softirq will execute: preempted one or a new one?

If the preempted one resumes, then it will reset sotirq bit hence new softirq won't execute. Same case if the new softirq executes first.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.