Messages in this thread | | | Date | Tue, 1 Jun 1999 15:24:07 +0200 | From | Martin Mares <> | Subject | Re: Serial BH vs. Immediate BH |
| |
Hi,
> i noticed the problem with the limited number of BH handlers and > many serial multiport cards registering their own bottom half. > > How are bottom halfs shareable and is it acceptable to use serial_bh > and/or immediate_bh for a serial multiport card ?
You don't need to use a separate bottom half handler at all. Just make your driver call queue_task() to queue your function to tq_immediate and call mark_bh(IMMEDIATE_BH). See <linux/tqueue.h>.
Have a nice fortnight -- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth "It's a lemon tree, my dear Watson." -- Sherlock Holmes (?)
- 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/
| |