Ah, OK, I see. I was working under the assumption that an interrupt
handler would hold off marking its BH until it got a "marker"
interrupt. The example Ted cited with PPP fit this: mark the BH when
you get the last character in the frame.
I guess not all handlers have the luxury of an end-of-frame marker,
though.
BTW: if you're idling, that doesn't mean that BH's are called before
the next timer tick. AFAIK do_bottom_half() is only called on return
from syscall/interrupt and when rescheduling.
Waiting for the next timer tick would be horrible for latency,
though.
Regards,
Richard....
-
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/