Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
CVS: cvs.openbsd.org: src
From: Miod Vallat (miodcvs.openbsd.org)
Date: Tue Aug 12 2003 - 13:06:48 CDT
Module name: src
Changes by: miodcvs.openbsd.org 2003/08/12 12:06:48
The idle loop is supposed to run with interrupts enabled, and will only
relax the interrupt mask (i.e. spl level).
However, under some unclear circumstances, it will be entered with
interrupts disabled, and thus will loop forever if no process is runnable.
Check the PSR and make sure that interrupts are enabled in this case. This
gets rid of the random freezes, although a better fix would be preferrable...