Re: [PATCH v5 3/9] x86/head: Move early exception panic code into early_fixup_exception

From: Arjan van de Ven
Date: Mon Apr 04 2016 - 11:36:47 EST


On 4/4/2016 8:32 AM, Andy Lutomirski wrote:

Adding locking would be easy enough, wouldn't it?

But do any platforms really boot a second CPU before switching to real
printk? Given that I see all the smpboot stuff in dmesg, I guess real
printk happens first. I admit I haven't actually checked.

adding locking also makes things more fragile in terms of getting the last thing out
before you go down in flaming death....

until it's a proven problem, this early, get the message out at all is more important
than getting it out perfectly, sometimes.