All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Stefano Brivio <stefano.brivio@polimi.it>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	linux-kernel@vger.kernel.org, Michael Buesch <mb@bu3sch.de>,
	Thomas Gleixner <tglx@linutronix.de>,
	Andrew Morton <akpm@linux-foundation.org>,
	Len Brown <lenb@kernel.org>
Subject: Re: [BUG] jiffies counter leaps in 2.6.24-rc3
Date: Thu, 29 Nov 2007 12:45:48 -0500	[thread overview]
Message-ID: <20071129174548.GC12481@redhat.com> (raw)
In-Reply-To: <20071129103511.GD10577@elte.hu>

On Thu, Nov 29, 2007 at 11:35:11AM +0100, Ingo Molnar wrote:
 
 > * Stefano Brivio <stefano.brivio@polimi.it> wrote:
 > 
 > > Ok, I found out how to reliably reproduce this bug. The root session issue
 > > was a bit weird, but I noticed I usually switch to root only when I need to
 > > change the CPU frequency. And here's what happens:
 > > 
 > > # cpuspeedy min
 > > [after some time...]
 > > Nov 29 09:42:31 morte [ 4408.722597] b43-phy0 ERROR: PHY transmission error
 > > 
 > > # cpuspeedy max
 > > Nov 29 09:42:41 morte [ 1177.238599] wmaster0: STA 00:14:c1:35:8d:eb Average rate: 540 (2160/4)
 > > 
 > > It looks like jiffies get scaled exactly by a 3.75 factor, which is
 > > <max_frequency>/<min_frequency> here. I use acpi-cpufreq and this is my
 > 
 > ah, the cpufreq/acpi/acpi-cpufreq angle is indeed a big clue. I've 
 > Cc:-ed various interested parties.
 
Hmm, what's in /sys/devices/system/clocksource/clocksource0/current_clocksource  ?

adjust_jiffies() always gets called on a speed transition. I'm wondering
if perhaps we shouldn't do that if we're using something other than
the tsc for timekeeping.

	Dave

-- 
http://www.codemonkey.org.uk

  reply	other threads:[~2007-11-29 17:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-24 16:51 [BUG] jiffies counter leaps in 2.6.24-rc3 Stefano Brivio
2007-11-24 17:56 ` Frans Pop
2007-11-24 18:09   ` Stefano Brivio
2007-11-24 18:48 ` Rafael J. Wysocki
2007-11-24 18:46   ` Stefano Brivio
2007-11-24 19:31     ` Rafael J. Wysocki
2007-11-26 18:00       ` Stefano Brivio
2007-11-29  7:20       ` Stefano Brivio
2007-11-29 10:33         ` Ingo Molnar
2007-11-29  8:50       ` Stefano Brivio
2007-11-29 10:35         ` Ingo Molnar
2007-11-29 17:45           ` Dave Jones [this message]
2007-11-29 17:57             ` Stefano Brivio
2007-11-29 18:24               ` Dave Jones
2007-11-29 19:25                 ` Stefano Brivio
2007-11-29 19:36                   ` Ingo Molnar
2007-11-29 20:12                     ` Stefano Brivio
2007-11-29 20:04                   ` 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=20071129174548.GC12481@redhat.com \
    --to=davej@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mb@bu3sch.de \
    --cc=mingo@elte.hu \
    --cc=rjw@sisk.pl \
    --cc=stefano.brivio@polimi.it \
    --cc=tglx@linutronix.de \
    /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.