From: tony@bakeyournoodle•com (Tony Breeds)
To: Olof Johansson <olof@lixom•net>
Cc: paulus@samba•org, linuxppc-dev@ozlabs•org
Subject: Re: New time code miscalculates cpu usage
Date: Wed, 17 Oct 2007 16:07:48 +1000 [thread overview]
Message-ID: <20071017060747.GF9814@bakeyournoodle.com> (raw)
In-Reply-To: <20071016202525.GA11837@lixom.net>
On Tue, Oct 16, 2007 at 03:25:25PM -0500, Olof Johansson wrote:
> Hi,
>
> Not sure when this started happening, but I wanted to report it. I'll
> start bisecting in a day or two if noone else has gotten around to
> looking at it:
>
> $ echo "int main(void) { while(1); }" > test.c ; gcc test.c
> $ time ./a.out & sleep 2 ; killall a.out
> real 0m2.008s
> user 0m4.014s
> sys 0m0.002s
>
> Seen on POWER5 and PA6T, haven't tried anything else yet.
For what it's worth, this is my bug. I suspected it, and git bisect
confirmed it.I have an ugly work around now, but hope to have something
better out tomorrow.
Thanks Olof.
Yours Tony
linux.conf.au http://linux.conf.au/ || http://lca2008.linux.org.au/
Jan 28 - Feb 02 2008 The Australian Linux Technical Conference!
next prev parent reply other threads:[~2007-10-17 6:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-16 20:25 New time code miscalculates cpu usage Olof Johansson
2007-10-17 6:07 ` Tony Breeds [this message]
2007-10-24 20:19 ` Olof Johansson
2007-10-24 20:17 ` Sergei Shtylyov
2007-10-24 21:56 ` Benjamin Herrenschmidt
2007-10-25 0:19 ` Paul Mackerras
2007-10-25 0:53 ` Benjamin Herrenschmidt
2007-10-25 12:46 ` Sergei Shtylyov
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=20071017060747.GF9814@bakeyournoodle.com \
--to=tony@bakeyournoodle$(echo .)com \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=olof@lixom$(echo .)net \
--cc=paulus@samba$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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