From: Andi Kleen <ak@suse.de>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>,
Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: mm snapshot broken-out-2007-04-25-02-49.tar.gz uploaded
Date: Wed, 25 Apr 2007 22:48:03 +0200 [thread overview]
Message-ID: <200704252248.03243.ak@suse.de> (raw)
In-Reply-To: <462FBD44.2040103@goop.org>
On Wednesday 25 April 2007 22:42:44 Jeremy Fitzhardinge wrote:
> Michal Piotrowski wrote:
> > Timing information is broken
> >
>
> This looks like Andi's sched_clock stuff hitting: it returns an
> inherently per-cpu result, so using it for printk timestamps isn't very
> useful.
It should actually roughly work. There can be some drift, but there shouldn't
be that much error. All CPUs should tick at roughly the same rate because
it's scaled to nanoseconds
If the drift is a big issue it would also be possible to resync every minute
or so, but I haven't implemented that.
There will be always some minor monotonicities because it won't try
to stop the CPU from reordering instructions.
I don't know why it is that off in your case.
> > [4294667.511000] BUG: at arch/i386/kernel/sched-clock.c:175 init_sched_clock()
> > [4294667.511000] [<c01052e0>] dump_trace+0x63/0x1eb
> > [4294667.511000] [<c0105482>] show_trace_log_lvl+0x1a/0x30
> > [4294667.511000] [<c01060c4>] show_trace+0x12/0x14
> > [4294667.511000] [<c0106161>] dump_stack+0x16/0x18
> > [4294667.511000] [<c04fd968>] init_sched_clock+0x6d/0xcc
> > [4294667.512000] [<c04f8505>] kernel_init+0x14e/0x2bf
> > [4294667.512000] [<c0104ec3>] kernel_thread_helper+0x7/0x10
> > [4294667.512000] =======================
>
> This also seems to be the sched_clock change; the WARN_ON is asserting
> that it got initialized early enough, but it isn't.
That's already fixed.
-Andi
next prev parent reply other threads:[~2007-04-25 20:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-25 9:52 mm snapshot broken-out-2007-04-25-02-49.tar.gz uploaded akpm
2007-04-25 17:20 ` William Heimbigner
2007-04-25 20:25 ` Andrew Morton
2007-04-25 20:24 ` Michal Piotrowski
2007-04-25 20:42 ` Jeremy Fitzhardinge
2007-04-25 20:48 ` Andi Kleen [this message]
2007-04-25 20:55 ` Michal Piotrowski
2007-04-25 20:57 ` Andi Kleen
2007-04-25 21:40 ` Michal Piotrowski
2007-04-25 22:07 ` Andi Kleen
2007-04-25 23:02 ` Michal Piotrowski
2007-04-29 13:36 ` Michal Piotrowski
2007-04-29 13:55 ` Andi Kleen
2007-04-29 16:10 ` Jeremy Fitzhardinge
2007-04-26 21:21 ` Michal Piotrowski
2007-04-27 0:12 ` Greg KH
2007-04-27 17:38 ` Michal Piotrowski
2007-04-27 17:46 ` Greg KH
2007-04-27 17:48 ` Tejun Heo
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=200704252248.03243.ak@suse.de \
--to=ak@suse.de \
--cc=akpm@linux-foundation.org \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.k.k.piotrowski@gmail.com \
--cc=mingo@elte.hu \
/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