Re: [2.6.25-rc1] Strange regression with CONFIG_HZ_300=y

From: H. Peter Anvin
Date: Tue Feb 12 2008 - 14:23:37 EST

Eric Piel wrote:

The laptop is a Vaio VGN-FZ240E, core 2 duo T7250 @ 2.0 GHz and the kernel is x86_64.

Hi, it's great you found out the culprit commit because I was really wondering where this bug was coming from...
As a data point, my machine has a core 2 duo @ 1.2GHz and x86_64 arch. Do you also have the tickless option activated? (it could play a role)

I believe this patch should fix the problem. Can you please verify?


-hpa diff --git a/kernel/ b/kernel/
index 62b1287..4146803 100644
--- a/kernel/
+++ b/kernel/
@@ -339,7 +339,7 @@ sub output($@)
print "\n";

foreach $pfx ('HZ_TO_MSEC','MSEC_TO_HZ',
foreach $bit (32, 64) {
foreach $suf ('MUL', 'ADJ', 'SHR') {
printf "#define %-23s %s\n",