> 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);
#endif
this is supposed to stop the other CPU as fast as possible. (we might even
want to make that an NMI interrupt)
-- mingo