On 6/26/07, gshan <gshan@xxxxxxxxxxxxxxxxxx> wrote:I mean kernel thread could sleep, but tasklet can't. If so, it meet my requirements.Thanks, Satyam. So I can replace the tasklet with kernel thread?
That depends on what you want to do ...
[ BTW: I should correct a typo in my original reply -- I should've said
"scheduling while atomic", and not "scheduling while interrupts disabled"
because interrupts are _not_ disabled in bottom halves, and from your
stack backtrace it was evident that a tasklet was executing. :-) ]