Thursday, November 29, 2007

Use "kernel_thread()" in an interrupt handler

May "kernel_thread()" be used in an interrupt handler routine ?
No, "Kernel panic - not syncing: Aiee, killing interrupt handler!" would occur when you use it.

Here are some discussions about that.
关于中断例程中的子进程睡眠问题
酷!學園 首頁 -> 程式討論版 -> 修改IP 問題

TODO:
Is "packet_type->func" an interrupt handler?
Even you meet kernel panic, it doesn't mean that you should be panic too, but there is a way of tracing the kernel to go. Then you may find more familiar with kernel.

No comments: