On Tuesday 19 May 2009 3:23:39 am Hans Petter Selasky wrote: > Hi, > > I'm about to factor out some taskqueue-alike code from USB(II) and I need to > know at which priority taskqueues are running. I know there is a priority > argument which can be specified for TASK_INIT(), but tracing in the code > shows that this is just a queue-priority. At which priority level is > taskqueue code being [guaranteed to] run?
It depends on the queue I think. taskqueue_swi runs as a SWI and thus at a software-interrupt priority. taskqueue_thread runs at the default priority for kernel threads (currently a rather bogus PVM I think). -- John Baldwin _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[email protected]"

