Hi folks,
I'm writing a driver for a ISDN card which needs to be able
to send data to several channels, each channel having its own
flow control flag.
Actually, I use one send queue (sk_buff_head) and one task queue
(tq_struct) for each channel, the task being controled by the
flow flag and queued on tq_immediate.
The problem is that some versions of the same ISDN card are able
to manage up to 256 ISDN channels, so the driver could end up
having 256 task queues queued on tq_immediate...
Is this The Good Way(tm) to do the job or 256 task queues implies
too much overhead and I should reimplement the access to the channels
using only one task queue and do some polling policy on the
channels myself ?
Thanks.
Stelian.
--
Stelian Pop <[email protected]>
|------------- Ing?nieur Informatique Libre --------------|
| Alc?ve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|----------- Alc?ve, l'informatique est libre ------------|