]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] powerpc: avoid timer interrupt replay effect when onlining cpu
authorNathan Lynch <ntl@pobox.com>
Tue, 7 Feb 2006 04:44:23 +0000 (22:44 -0600)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Feb 2006 10:51:54 +0000 (21:51 +1100)
commit7d4d61544a12333600bdb9b018a149868418692e
treeef645b27fcfbcad4ccf870cfb1832a14c1aadee6
parent4dc43256931db60d02d76bacf3cf03b5d79aa33a
[PATCH] powerpc: avoid timer interrupt replay effect when onlining cpu

When a cpu is hotplug-onlined, if we don't set per_cpu(last_jiffy) to
something sane, timer_interrupt will execute its while loop for every
tick missed since the cpu was last online (or since the system was
booted, if we're adding a new cpu).  This can cause weird hangs, ssh
sessions dropping, and we can even go xmon if we take a global IPI at
the wrong time.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/smp.c