2011/2/15 naveen yadav <yad.naveen@xxxxxxxxx>
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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies