Demistifying Softlockup & Hardlockup A ' softlockup ' is defined as a bug that causes the kernel to loop in kernel mode for more than 20 seconds. without giving other tasks a chance to run The currentstack trace is displayed upon detection and, by default, the system will stay locked up. A ' hardlockup ' is defined as a bug that causes the CPU to loop inkernel mode for more than 10 seconds. without letting other interrupts have a chance to run. Similarly to the softlockup case, the current stack trace is displayed upon detection and the system will stay locked up unless the default behavior is changed. Details: The so-called lockup refers to a section of kernel code that holds the CPU. A serious lockup can cause the entire system to lose its response. Lockup has several features: First of all, only the kernel code can cause lockup, because user code can be preempted, it is impossible to form a lockup (only one exception, real-time pr...
This blog is intended to help understand internals about linux environment. It stack together very basic and important contents, to help naive kernel users.