Is there analog of `softint_establish and co.` in DFly kernel?

Dmitry Komissaroff dxi at mail.ru
Wed Nov 28 04:07:13 PST 2007


В письме Wed, 28 Nov 2007 18:12:32 +1000, km b написал:


>> I'm playing a bit with mechanism (register_swi(), unregister_swi() and
>> sched_ithd()). It work, but it not applicable for widely usage, because
>> number of SWI_XXX slots very limited. To example, someone want create
>> some driver and use for sending data to device function, called by
>> software interrupt. Today, this someone must change kernel sources at
>> least in <sys/interrupt.h> to add define of new SWI_XXX. If not to do
>> this, there is risk, to use number of softint, used someone else...
>>
>>
> You should be looking at using taskqueues instead. kern/subr_taskqueue.c.

Hmm, it's look what I need... Thanks...





More information about the Kernel mailing list