Re: [RFC PATCH 0/4] clockevents: fix clockevent_devices list corruptionafter cpu hotplug

From: Xiaotian Feng
Date: Sun Jan 17 2010 - 21:32:20 EST

On 01/17/2010 05:28 PM, Ozan ÃaÄlayan wrote:
Thomas Gleixner wrote:

I'm not happy about that churn. Why don't we simply scan the
clockevent_devices list for leftovers of the dead CPU ?

Untested patch below solves the same problem.

Hi, I have 3 bug reports about a clockevent failure while halting the system ( kernel).
It exactly pinpoints to the line 262 which got changed with this patch merged to (and also

[4406.986777] kernel BUG at kernel/time/clockevents.c:262!
[4406.986777] invalid opcode: 0000 [#1] SMP
[4406.986777] last sysfs file: /sysfs/module/ip_tables/initstate

I think this one is duplicated of
Thomas is working on the fix. I've sent a workaround patch on

All 3 systems have Pentium 4 processors with different clock speeds.

Here's a screenshot of the full stacktrace:

and the relevant bugzilla report:

Ozan Caglayan
Pardus Linux --

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at