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

这是针对MIPS处理器上的NetBSD,但也欢迎Linux的回答。

我看到在接收网络数据包时发生中断。 该硬件中断在存储操作中发现TLB未命中,内核崩溃。 当我看到核心转储时,gdb指向进程的LWP(让我们说ProcA)。

我假设,这个硬件中断可能已经抢占了ProcA并开始在ProcA的内核堆栈上执行。 虽然在堆栈框架中我没有看到ProcA的任何内容,但我不明白为什么gdb仍指向ProcA。

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

上一篇: Kernel crash in hardware interrupt; core dump shows process context

下一篇: to() functions from linux kernel actually work?