On Tue 29 Aug 2006 at 03:01PM, Alexander Kolbasov wrote:
> > 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).
> 

Sasha, maybe this would be an opportunity to open this PSARC case?

The case provides a clear rationale for "why we did this."

Contact me offline if you want to make this happen, I've been
doing this for the zones cases.

        -dp

-- 
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to