[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4680D48F.6070105@alcatel-lucent.com>
Date: Tue, 26 Jun 2007 16:55:43 +0800
From: gshan <gshan@...atel-lucent.com>
To: Satyam Sharma <satyam.sharma@...il.com>
CC: linux-kernel@...r.kernel.org
Subject: Re: bugs in __schedule()
Satyam Sharma wrote:
> On 6/26/07, gshan <gshan@...atel-lucent.com> wrote:
>> 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. :-) ]
I mean kernel thread could sleep, but tasklet can't. If so, it meet my
requirements.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists