Why can the kernel be stuck by a busy kernel thread ?

Mulyadi Santosa mulyadi.santosa at gmail.com
Sat Oct 15 00:07:22 EDT 2011


On Fri, Oct 14, 2011 at 23:43, Parmenides <mobile.parmenides at gmail.com> wrote:
> 2011/10/14 Daniel Baluta <daniel.baluta at gmail.com>:
>> Is kernel preemption activated? Could you check for # grep
>> CONFIG_PREEMPT .config?
>>
>
> Yes. I really have not select CONFIG_PREEMPT option. Now, I turn it on
> and things are ok. Thanks a lot.

As you can easily derive, quite likely  you didn't enable kernel level
preemption before, and since kernel thread only operates in kernel
mode and you made it just spinned there...so there you go.....
-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list