LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Eric Piel <E.A.B.Piel@tudelft.nl>
Cc: "Carlos R. Mafra" <crmafra@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: [2.6.25-rc1] Strange regression with CONFIG_HZ_300=y
Date: Tue, 12 Feb 2008 11:23:04 -0800	[thread overview]
Message-ID: <47B1F218.3090407@zytor.com> (raw)
In-Reply-To: <47B15834.6010704@tudelft.nl>

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

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?

Thanks,

	-hpa

[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 409 bytes --]

diff --git a/kernel/timeconst.pl b/kernel/timeconst.pl
index 62b1287..4146803 100644
--- a/kernel/timeconst.pl
+++ b/kernel/timeconst.pl
@@ -339,7 +339,7 @@ sub output($@)
 	print "\n";
 
 	foreach $pfx ('HZ_TO_MSEC','MSEC_TO_HZ',
-		      'USEC_TO_HZ','HZ_TO_USEC') {
+		      'HZ_TO_USEC','USEC_TO_HZ') {
 		foreach $bit (32, 64) {
 			foreach $suf ('MUL', 'ADJ', 'SHR') {
 				printf "#define %-23s %s\n",

  parent reply	other threads:[~2008-02-12 19:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-11 13:41 Carlos R. Mafra
2008-02-12  8:26 ` Eric Piel
2008-02-12 11:41   ` Carlos R. Mafra
2008-02-12 19:23   ` H. Peter Anvin [this message]
2008-02-12 19:53     ` Carlos R. Mafra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47B1F218.3090407@zytor.com \
    --to=hpa@zytor.com \
    --cc=E.A.B.Piel@tudelft.nl \
    --cc=crmafra@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [2.6.25-rc1] Strange regression with CONFIG_HZ_300=y' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).