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 ------------|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to