Tuesday, May 22, 2012

What is a softlockup? How do I debug it?

A softlockup occurs when there exists a kernel thread or a process that does not relinquish control of a CPU for a period of time (the softlockup_thresh setting ).  This can happen only with kernel space processes.

Softlockups are detected by a watchdog process. These softlockups can be typically caused by software bugs, say if you cause it to run in an infinite loop.