[PATCH] Introduce x86_cpuinit.early_percpu_clock_init hook

2012-02-07 Thread Igor Mammedov
, ftrace may cause the same overflow/hang on cpu hot-plug anyway. More complete description of the problem: https://lkml.org/lkml/2012/2/2/101 Credits to Marcelo Tosatti mtosa...@redhat.com for hook idea. Signed-off-by: Igor Mammedov imamm...@redhat.com --- arch/x86/include/asm/x86_init.h

Need advice how to fix an access to uninitialized per_cpu clock

2012-02-02 Thread Igor Mammedov
While playing with kvm cpu hot-plug, I've probably stumbled on general kernel bug. So I'm lookng for advice on approach to fix it. When kvm guest uses kvmclock, it may hang on cpu hot-plug at BSP: smp_apic_timer_interrupt ... - do_timer - update_wall_time

<    1   2   3