From: Frederic Weisbecker <fweisbec@gmail.com>
To: Sitsofe Wheeler <sitsofe@yahoo.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>,
Steven Rostedt <rostedt@goodmis.org>, Ingo Molnar <mingo@elte.hu>,
linux-kernel@vger.kernel.org
Subject: Re: [TIP,BISECTED] Negative nice values have become big positive numbers
Date: Tue, 10 Mar 2009 11:03:25 +0100 [thread overview]
Message-ID: <20090310100321.GA6825@nowhere> (raw)
In-Reply-To: <20090310001222.GA1843@silver.sucs.org>
On Tue, Mar 10, 2009 at 12:12:22AM +0000, Sitsofe Wheeler wrote:
> On Mon, Mar 09, 2009 at 09:15:04PM +0100, Frederic Weisbecker wrote:
> > On Sun, Mar 08, 2009 at 11:18:50PM +0000, Sitsofe Wheeler wrote:
> > > Formally negative nice values have started become very big in positive
> > > integers in -tip kernels:
> > >
> > > 2 root 15 2147483647 0 0 0 S 0.0 0.0 0:00.00 kthreadd
> >
> > The weird thing here is that number: 2147483647
> > It is 0xefffffff
> > Which means -1 without the highest bit (the sign).
> > I really don't know how it could have happened.
> >
> > Anyway, I caught something in the signedness bits from my patch that unifies
> > the format decoding.
> > I've never seen your bug on my machine. But I note you have a 32 bits CPU.
> > Mine is 64 bits with a 64 bits kernel. Perhaps some weird signedness related things
> > happened because of the signedness bug that the following patch fixes.
> >
> > Can you please give it a try?
>
> This seems to have fixed the problem (unless I'm mistaken):
> 2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
>
> Thanks!
>
> --
> Sitsofe | http://sucs.org/~sits/
Thanks a lot Sitsofe!
Reported-and-tested-by: Sitsofe Wheeler <sitsofe@yahoo.com>
next prev parent reply other threads:[~2009-03-10 10:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-08 23:18 [TIP,BISECTED] Negative nice values have become big positive numbers Sitsofe Wheeler
2009-03-08 23:49 ` Steven Rostedt
2009-03-09 7:08 ` Ingo Molnar
2009-03-09 8:41 ` Frederic Weisbecker
2009-03-09 12:56 ` Sitsofe Wheeler
2009-03-09 8:39 ` Sitsofe Wheeler
2009-03-09 20:15 ` Frederic Weisbecker
2009-03-10 0:12 ` Sitsofe Wheeler
2009-03-10 10:03 ` Frederic Weisbecker [this message]
2009-03-10 12:18 ` [tip:core/printk] vsprintf: fix bug in negative value printing Frederic Weisbecker
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=20090310100321.GA6825@nowhere \
--to=fweisbec@gmail.com \
--cc=laijs@cn.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
--cc=sitsofe@yahoo.com \
/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