Re: bugs in __schedule()
From: Satyam Sharma
Date: Tue Jun 26 2007 - 05:08:46 EST
On 6/26/07, gshan <gshan@xxxxxxxxxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/