Re: kernel panic on NHM EX machine

From: Alex Shi
Date: Thu Apr 12 2012 - 00:17:40 EST


On 04/12/2012 10:46 AM, Fengguang Wu wrote:

> Hi all,
>
> This commit makes a difference. Found by auto bisection and confirmed
> by reverting it on top of v3.4-rc2. Attached is my kconfig.
>
> commit 77b0d60c5adf39c74039e2142a1d3cd1e4d53799
> Author: Suresh Siddha <suresh.b.siddha@xxxxxxxxx>
> Date: Fri Nov 4 17:18:21 2011 -0700
>
> clockevents: Leave the broadcast device in shutdown mode when not needed
>
> Platforms with Always Running APIC Timer doesn't use the broadcast timer
> but the kernel is leaving the broadcast timer (HPET in this case)
> in oneshot mode.
>
> On these platforms, before the switch to oneshot mode, broadcast device is
> actually in shutdown mode. Code checks for empty tick_broadcast_mask and
> avoids going into the periodic mode.
>
> During switch to oneshot mode, add the same tick_broadcast_mask checks in the
> tick_broadcast_switch_to_oneshot() and avoid the broadcast device going into
> the oneshot mode.
>
> Signed-off-by: Suresh Siddha <suresh.b.siddha@xxxxxxxxx>
> Cc: john stultz <johnstul@xxxxxxxxxx>
> Cc: venki@xxxxxxxxxx
> Link: http://lkml.kernel.org/r/1320452301.15071.16.camel@xxxxxxxxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>


It made loopback netperf performance regression on NHM-EP, I thought it
is due to few local timers missing on EP, but didn't know it is totally
out of work on EX.



--
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/