<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Hi, Naveen<br></span></font><br><div class="gmail_quote">2011/2/15 naveen yadav <span dir="ltr"><<a href="mailto:yad.naveen@gmail.com">yad.naveen@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi All,<br>
<br>
I need small clarification for multicore linux kernel<br>
<br>
Case;1<br>
Kernel space:<br>
<br>
1. If on two CPU's both running in kernel space and both crash at same<br>
time t. what will happen will we get two crash dumps of registers or<br>
single ?<br>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "></span></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">- when kernel dies in SMP environment, it needs to aquire spin_lock(die_lock) to enter die().<br> So the first one which get the lock earlier will handle die() first. If the kernel is still alive then <br>
the later one will enter die(). <br> If kernel is in panic, it shutdown the other cpus and halt the system. So no one can do further jobs.</span><br>
<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Case :2<br>
<br>
User Space:<br>
<br>
1. If on two CPU's both running in User space and both crash at same<br>
time t. what will happen will we get two core files, Single core with<br>
dump for both ?<br>
<br>
Thanks<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div><br>