Re: [Fwd: [PATCH] x86/smp: Fix cpuN startup panic]

From: H. Peter Anvin
Date: Thu Aug 09 2012 - 23:36:49 EST


On 08/09/2012 05:35 PM, Yanmin Zhang wrote:
Peter,

What's your opinion about the patch? We hit it when enabling Medfield Android mobile.
This patch would put AP to a loop.

Another method to fix it is just to enlarge the wait time, for example, from 2HZ to 10HZ.


Hmm... and I presume running with preemption disabled doesn't work for hotplug (not that this is a hotplug situation)...

2 seconds is a *long* time, but I guess there isn't really nay harm in making it 10 seconds in the sense that the system is basically dead at that point...

tglx - you have been looking at the CPU startup lately, any opinions?

-hpa


--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/