Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

 
discard

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

Browse other questions tagged or ask your own question.