> Q. How come the handler doesn't manage so called "bottom halves" or
> "soft IRQs"?
> A. There is no need for this. Soft IRQs can only appear at exit from
> hardware interrupt handlers. Indeed, we can't count on user app.
> being around and performing a system call when it comes to
> interrupt handling, right?
That's probably a bug.
syscall
* spin_lock_bh()
* hardware interrupt arrives
* BH's are blocked, delayed
* spin_unlock_bh()
* return from syscall.
You must check for softirq's before returning.
-- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:20 EST