I always wondered how a kernel that became unstable, e.g. due to a BSOD or a kernel panic, is able to do specific tasks.

For example, if a Windows driver corrupts the stack of the kernel. It leads to a BSOD.

But I wonder, how does the kernel detect the stack corruption, and how is the now crashed kernel able to do complex tasks like writing a log file into an NTFS directory?

  • 2
    $\begingroup$ Linux has two kernels, the other one is called rescue kernel and does the magic when the primary one breaks. $\endgroup$ – user1543037 Apr 12 at 14:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.