On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
I mean kernel thread could sleep, but tasklet can't. If so, it meet my requirements.
That's not really a justification to convert a tasklet to a kernel thread. I suspect the simplest solution to your problem would be to simply replace that semaphore with a spinlock. Other than that, we can't really help without looking at code. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/