Messages in this thread Patch in this message | | | Date | Mon, 24 Apr 2006 17:52:39 -0400 | From | Dave Jones <> | Subject | Avoid printing pointless tsc skew msgs. |
| |
These messages are kinda silly..
CPU#0 had 0 usecs TSC skew, fixed it up. CPU#1 had 0 usecs TSC skew, fixed it up.
inspired from: http://bugzilla.kernel.org/attachment.cgi?id=7713&action=view
Signed-off-by: Dave Jones <davej@redhat.com>
--- linux-2.6.16.noarch/arch/i386/kernel/smpboot.c~ 2006-03-29 18:49:23.000000000 -0500 +++ linux-2.6.16.noarch/arch/i386/kernel/smpboot.c 2006-03-29 18:50:35.000000000 -0500 @@ -313,7 +313,8 @@ static void __init synchronize_tsc_bp (v if (tsc_values[i] < avg) realdelta = -realdelta; - printk(KERN_INFO "CPU#%d had %ld usecs TSC skew, fixed it up.\n", i, realdelta); + if (realdelta > 0) + printk(KERN_INFO "CPU#%d had %ld usecs TSC skew, fixed it up.\n", i, realdelta); } sum += delta; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |