Tried to do something similar:
set some global variable which is non 0 if in do_IRQ()
copied last boobytrap to kernel/softint.c, but checked only when called
from do_IRQ(), but didn't change current->state back there
Results: got error messages about 2 bh_handlers (about same number for each):
tqueue_bh
console_bh
One note: I got more messages from do_IRQ() than from run_botom_halves()
(10 from run_botom_halves, 14 from do_IRQ). I added checks
around (*bh)() only.
Andris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/