Hi,
I code a kernel module which do some nop. When inserted into the
kernel, the kernel will be stuck and can not reponse my keypress
anymore. So, I have to reboot to get out. Why?
#include linux/init.h
#include linux/module.h
#include linux/kernel.h
#include linux/kthread.h
struct
On Fri, Oct 14, 2011 at 5:04 PM, Parmenides mobile.parmeni...@gmail.com wrote:
Hi,
I code a kernel module which do some nop. When inserted into the
kernel, the kernel will be stuck and can not reponse my keypress
anymore. So, I have to reboot to get out. Why?
Is kernel preemption
2011/10/14 Daniel Baluta daniel.bal...@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.
___
On Fri, Oct 14, 2011 at 23:43, Parmenides mobile.parmeni...@gmail.com wrote:
2011/10/14 Daniel Baluta daniel.bal...@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