public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: "Steven Rostedt" <rostedt@goodmis.org>,
	"Frédéric Weisbecker" <fweisbec@gmail.com>
Cc: Sitsofe Wheeler <sitsofe@yahoo.com>,
	Lai Jiangshan <laijs@cn.fujitsu.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [TIP,BISECTED] Negative nice values have become big positive numbers
Date: Mon, 9 Mar 2009 08:08:24 +0100	[thread overview]
Message-ID: <20090309070824.GA9516@elte.hu> (raw)
In-Reply-To: <alpine.DEB.2.00.0903081944470.2203@gandalf.stny.rr.com>


* Steven Rostedt <rostedt@goodmis.org> wrote:

> On Sun, 8 Mar 2009, Sitsofe Wheeler wrote:
> 
> > (Forgot to cc lkml. Resending...)
> > 
> > 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    
> 
> Is this the output of top?

seems so.

> > I've just finished bisecting down to this commit:
> > 
> > commit 1427cdf0592368bdec57276edaf714040ee8744f
> > Author: Lai Jiangshan <laijs@cn.fujitsu.com>
> > Date:   Fri Mar 6 17:21:47 2009 +0100
> 
> $ git show 1427cdf0592368bdec57276edaf714040ee8744f  | diffstat
>  include/linux/ftrace.h       |    3 +
>  kernel/trace/Kconfig         |    6 ++
>  kernel/trace/Makefile        |    1 
>  kernel/trace/trace.c         |   56 +++++++++++++++++++++++++++
>  kernel/trace/trace.h         |   12 +++++
>  kernel/trace/trace_bprintk.c |   87 
> +++++++++++++++++++++++++++++++++++++++++++
>  kernel/trace/trace_output.c  |   75 +++++++++++++++++++++++++++++++++++++
>  7 files changed, 240 insertions(+)
> 
> I find it hard to believe that this would cause normal nice 
> values to be messed up. The only file that could could come 
> close to messing with nice values in top is ftrace.h:

Correct - maybe it's these two nearby commits that cause the 
problems:

 fef20d9: vsprintf: unify the format decoding layer for its 3 users
 4370aa4: vsprintf: add binary printf

they do affect generic code. If we broke vsnprintf (which the 
nice value output code uses) then that might be a plausible 
explanation.

	Ingo

  reply	other threads:[~2009-03-09  7:09 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 [this message]
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
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=20090309070824.GA9516@elte.hu \
    --to=mingo@elte.hu \
    --cc=fweisbec@gmail.com \
    --cc=laijs@cn.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --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