Kernel crash in hardware interrupt; core dump shows process context

This is for NetBSD on MIPS processor, but answer for Linux is also welcome.

I see that an interrupt occurred while receiving a network packet. This hardware interrupt sees a TLB miss on store operation and kernel crashed. When I see the core-dump, gdb points to LWP of a process (lets say ProcA).

I am assuming that, this hardware interrupt may have preempted the ProcA and started execution on ProcA's kernel stack. Though in the stack frame I don't see anything from ProcA, what I don't understand is why gdb still points to ProcA.

链接地址: http://www.djcxy.com/p/84890.html

上一篇: 系统调用会中断softirq吗?

下一篇: 内核在硬件中断时崩溃; 核心转储显示进程上下文