> I need to offload some processing from high level interrupt to some > thing more sane. > > Historically I've always used soft interrupts to do this, as that was > the "documented" and preferred way. > > I'm curious though, we now have taskq's in the DDI. What are the > trade-offs between using soft interrupts (SOFTINTR_HIGH was what I had > _planned_ to use) and taskq's? Do soft interrupts get higher scheduling > priority? What about dispatcher latencies? Is there a difference?
It is not possible to use task queues in high-level interrupt context. You can create task queues with any priority you like, but most of them (including system_taskq) execute at priority 60. Task queues usually cause a context switch per request (unless requests can be joined together for a single thread to chew on them). - Alexander Kolbasov http://blogs.sun.com/akolb _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
