• john stultz's avatar
    [PATCH] x86: Log reason why TSC was marked unstable · 5a90cf20
    john stultz authored
    Change mark_tsc_unstable() so it takes a string argument, which holds the
    reason the TSC was marked unstable.
    
    This is then displayed the first time mark_tsc_unstable is called.
    
    This should help us better debug why the TSC was marked unstable on certain
    systems and allow us to make sure we're not being overly paranoid when
    throwing out this troublesome clocksource.
    
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Andi Kleen <ak@suse.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    5a90cf20
tsc_sync.c 4.21 KB