Michael Buesch <mb@...> writes: > > I recently converted the b43 driver to threaded interrupt handlers and > a workqueue based TX mechanism. (My motivation was porting b43 to the SDIO bus that > needs to sleep, so requires process context). Well you can do busy wait : for sending small sd command, the overhead of sleep ( context switch) can be bigger than the sleep. > > I think there's no real reason for process context being slow in general. It's just that > we have additional context switches. But these are fast on Linux. > It depends of architecture. For example on older arm (armv5) context switch can be slow (need tlb and cache flush). It is not really true for kernel thread that keeps the same mmu mapping and don't need all those flush, but there still a visible performance hit. Matthieu -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html