taskqueue_drain
usleepless at gmail.com
usleepless at gmail.com
Wed Oct 25 12:43:26 UTC 2006
Hello,
i am working on improving the driver for hauppauge PVR cards
(multimedia/pvrxxx). i just implemented a "fast" interrupt using a
taskqueue ( like the new if_em driver ).
i have a couple of questions:
1. if_em is using taskqueue_enqueue rather than
taskqueue_enqueue_fast. this is contrary to what "man taskqueue"
claims. how come?
2. when my capture-device is closed, i need to drain the taskqueue.
however, taskqueue_drain needs a task as an argument. but i have
queued 2 different tasks on the taskqueue. what to do? i guess they
need to be processed "in order".
3. when and in which version will the "fast" versions of the
taskqueue-functions be released? will it be backported? if i create a
patch and send-pr it, is it likely to be accepted for 6.x?
i am developing this on 6.1-p10, but i imported subr_taskqueue.c and
taskqueue.h from cvs.
thank you for your time,
usleep
More information about the freebsd-hackers
mailing list