All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ducrot Bruno <ducrot@poupinou.org>
To: Juliusz Chroboczek <jch@pps.jussieu.fr>
Cc: cpufreq@www.linux.org.uk, davej@suse.de
Subject: Re: Cpufreq: powernow-k7 weirdness
Date: Sun, 6 Jul 2003 03:21:14 +0200	[thread overview]
Message-ID: <20030706012114.GW7796@poupinou.org> (raw)
In-Reply-To: <tpisqgv58s.fsf@lanthane.pps.jussieu.fr>

On Sun, Jul 06, 2003 at 03:00:35AM +0200, Juliusz Chroboczek wrote:
> Running stock 2.5.73 (ACPI + preempt) on a Compaq Presario 711, CPU is
> a 950MHz mobile Duron.  I'm getting unexpected timings when enabling
> cpufreq.
> 
> On a kernel compiled without cpufreq, a CPU bound program (repeated
> sieve within L1 cache) gives the following, which is consistent with
> what I get under 2.4.18:
> 
>   real    0m1.729s
>   user    0m1.725s
>   sys     0m0.003s
> 

There is a little bug in powernow-k7.c

ducrot@neptune $  cvs diff -u -r1.42 powernow-k7.c
Index: powernow-k7.c
===================================================================
RCS file: /mnt/src/cvsroot/cpufreq/linux/arch/i386/kernel/cpufreq/powernow-k7.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- powernow-k7.c	16 Jun 2003 20:39:11 -0000	1.42
+++ powernow-k7.c	4 Jul 2003 15:18:55 -0000	1.43
@@ -1,5 +1,5 @@
 /*
- *  $Id: powernow-k7.c,v 1.42 2003/06/16 20:39:11 davej Exp $
+ *  $Id: powernow-k7.c,v 1.43 2003/07/04 15:18:55 ducrot Exp $
  *
  *  (C) 2003 Dave Jones <davej@suse.de>
  *
@@ -268,8 +268,8 @@
 		change_VID(vid);
 	} else {
 		/* Going up, so change VID first */
-		change_VID(fid);
-		change_FID(vid);
+		change_VID(vid);
+		change_FID(fid);
 	}
 	
 


It is not in mainline AFAIK.

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.

  reply	other threads:[~2003-07-06  1:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-06  1:00 Cpufreq: powernow-k7 weirdness Juliusz Chroboczek
2003-07-06  1:21 ` Ducrot Bruno [this message]
2003-07-06 17:11   ` Carl Thompson
2003-07-06 17:28     ` Jay Goodman Tamboli
2003-07-06 17:43       ` Carl Thompson
2003-07-06 18:48         ` Ducrot Bruno
2003-07-06 21:56           ` Luigi Belli
2003-07-07  4:16             ` Michael Frank
2003-07-07 13:12               ` Ducrot Bruno
2003-07-07 15:06                 ` Michael Frank
2003-07-07 16:32                   ` Daniel Thor Kristjansson
2003-07-07 12:58   ` Juliusz Chroboczek
2003-07-07 13:32     ` Ducrot Bruno
2003-07-07 17:32       ` Dave Jones

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=20030706012114.GW7796@poupinou.org \
    --to=ducrot@poupinou.org \
    --cc=cpufreq@www.linux.org.uk \
    --cc=davej@suse.de \
    --cc=jch@pps.jussieu.fr \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.