Ingo Molnar (
Tue, 13 May 1997 13:40:06 +0200 (MET DST)

On Mon, 12 May 1997, Richard B. Johnson wrote:

> Question? When SMP is finally robust and stable, if there is a crash, shall
> we expect two panics <grin>? Gotta halt both CPUs in panic. This might
> be the reason why SMP crashes seem to be more prone to trashing file-systems.
> The second CPU might be writing some bad stuff to the file-system before
> it panics.

from kernel/panic.c:

#ifdef __SMP__
smp_message_pass(MSG_ALL_BUT_SELF, MSG_STOP_CPU, 0, 0);

this is supposed to stop the other CPU as fast as possible. (we might even
want to make that an NMI interrupt)

-- mingo