mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: john stultz <johnstul@us.ibm.com>
To: Mattia Dongili <malattia@linux.it>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: first bisection results in -mm3 [was: Re: 2.6.15-mm2: reiser3 oops on suspend and more (bonus oops shot!)]
Date: Tue, 24 Jan 2006 16:12:09 -0800	[thread overview]
Message-ID: <1138147929.15682.114.camel@cog.beaverton.ibm.com> (raw)
In-Reply-To: <1138146498.15682.99.camel@cog.beaverton.ibm.com>

On Tue, 2006-01-24 at 15:48 -0800, john stultz wrote:
> On Wed, 2006-01-25 at 00:04 +0100, Mattia Dongili wrote:
> > On Tue, Jan 24, 2006 at 02:27:14PM -0800, john stultz wrote:
> > > difficult spot is that if the cpufreq notification driver is a module,
> > > then there will always be a window between the point at which we start
> > > using the TSC to the point where we find out that the TSC is changing
> > > frequency. Not sure what to do here just yet.
> > 
> > I was wondering if you could force an do_gettimeofday call quite early
> > in order to lower tsc priority as soon as possible, but maybe I'm not
> > entirely into that code :)
> 
> Well, it isn't do_gettimeofday that needs to be called, but we need a
> way to decide if we should call tsc_mark_unstable(). Currently we do
> that when we get a cpufreq transition notification if the cpu's TSC is
> not constant.  The problem being: on your system, that notification
> isn't called until after the cpufreq driver module loads. This is of
> course, after we've started to use the TSC.
> 
> If the cpufreq driver loaded earlier, or we had some other way of
> checking if the TSC was not constant, we could call tsc_mark_unstable()
> then.
> 
> We'll probably have to do a manual check like what the cpufreq driver
> does early on so we can have this info before we install the TSC
> clocksource. I'll let you know when I have a patch to try.

Mattia,
	Just to verify I'm not barking up the wrong tree here, could you try
building w/ CONFIG_X86_SPEEDSTEP_ICH=y instead of as a module?

This should force the cpufreq driver to load earlier, and hopefully
we'll get a notification earlier as well.

thanks
-john




  reply	other threads:[~2006-01-25  0:12 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-10 23:55 2.6.15-mm2: reiser3 oops on suspend and more (bonus oops shot!) Mattia Dongili
2006-01-11  1:00 ` Andrew Morton
2006-01-11 10:00   ` Pavel Machek
2006-01-11 11:24     ` Mattia Dongili
2006-01-11 18:40     ` Mattia Dongili
2006-01-12 22:08       ` first bisection results in -mm3 [was: Re: 2.6.15-mm2: reiser3 oops on suspend and more (bonus oops shot!)] Mattia Dongili
2006-01-12 23:26         ` john stultz
2006-01-14 12:08           ` Mattia Dongili
2006-01-16 20:16             ` john stultz
2006-01-16 20:40               ` Mattia Dongili
2006-01-16 21:42                 ` john stultz
2006-01-16 22:19                   ` Andi Kleen
2006-01-16 22:41                     ` john stultz
2006-01-17 16:43                   ` Mattia Dongili
2006-01-17 16:45                   ` Mattia Dongili
2006-01-17  0:49                 ` john stultz
2006-01-17 17:49                   ` Mattia Dongili
2006-01-17 19:11                     ` john stultz
2006-01-17 22:49                       ` Mattia Dongili
2006-01-18 10:47                         ` Mattia Dongili
2006-01-24 22:27                           ` john stultz
2006-01-24 23:04                             ` Mattia Dongili
2006-01-24 23:48                               ` john stultz
2006-01-25  0:12                                 ` john stultz [this message]
2006-01-25 18:12                                   ` Mattia Dongili
2006-01-11 10:02   ` 2.6.15-mm2: reiser3 oops on suspend and more (bonus oops shot!) Pavel Machek
2006-01-11 14:27   ` Mattia Dongili
2006-01-15 22:14   ` 2.6.15-mm3 bisection: git-xfs.patch makes reiserfs oops Mattia Dongili
2006-01-15 22:48     ` Nathan Scott
2006-01-15 23:22       ` Mattia Dongili
2006-01-16  9:29       ` Hans Reiser
2006-01-16 11:48         ` Christoph Hellwig
2006-01-16 15:50           ` Mattia Dongili
2006-01-17  3:27           ` Hans Reiser
2006-01-16 11:51         ` Mattia Dongili

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=1138147929.15682.114.camel@cog.beaverton.ibm.com \
    --to=johnstul@us.ibm.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=malattia@linux.it \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®