report tsc skew on xen boot
PATCH 1/1 report tsc skew on xen boot
This patch just changes a couple of KERN_INFO printk's so that they always print on boot. These printk's report whether or not xen believes the TSC's are synchronized across all processors. I wish I knew this code was here as it could have been used several times to help diagnose problems, but it would be even better if it didn't require the loglvl=info boot option to see it.
Thanks,
Dan
===================================
Thanks... for the memory
I really could use more / My throughput's on the floor The balloon is flat / My swap disk's fat / I've OOM's in store Overcommitted so much
(with apologies to the late great Bob Hope)
xen/arch/x86/smpboot.c +2 -2
@@ -195,7 +195,7 @@ static void __init synchronize_tsc_bp (vunsigned int one_usec;int buggy =0 ; -printk (KERN_INFO "checking TSC synchronization across %u CPUs: " ,num_booting_cpus ()); +printk ("checking TSC synchronization across %u CPUs: " ,num_booting_cpus ());/* convert from kcyc/sec to cyc/usec */ one_usec = cpu_khz /1000 ;
@@ -274,7 +274,7 @@ static void __init synchronize_tsc_bp (vif (tsc_values[i] < avg) realdelta = -realdelta; -printk (KERN_INFO "CPU#%d had %ld usecs TSC skew, fixed it up.\n" , i, realdelta); +printk ("CPU#%d had %ld usecs TSC skew, fixed it up.\n" , i, realdelta); } sum += delta;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel