multicore and crash
From: Joongyu Sun <hidden>
Date: 2011-02-15 05:07:51
Hi, Naveen 2011/2/15 naveen yadav [off-list ref]
Hi All, I need small clarification for multicore linux kernel Case;1 Kernel space: 1. If on two CPU's both running in kernel space and both crash at same time t. what will happen will we get two crash dumps of registers or single ?
- when kernel dies in SMP environment, it needs to aquire
spin_lock(die_lock) to enter die().
So the first one which get the lock earlier will handle die() first.
If the kernel is still alive then
the later one will enter die().
If kernel is in panic, it shutdown the other cpus and halt the system.
So no one can do further jobs.
Case :2 User Space: 1. If on two CPU's both running in User space and both crash at same time t. what will happen will we get two core files, Single core with dump for both ? Thanks _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110215/67206291/attachment.html