ps -ef
the process with [ ] is kernel thread
is kernel thread preemptive?
1. if CONFIG_PREEMPT is defined, kernel thread is preemptive
2. if CONFIG_PREEMPT is not defined, kernel thread is not preemptive. It will freeze the system if it doesn’t go to sleep.
kthread_create
沒有留言:
張貼留言