mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Dave Jones <davej@redhat.com>,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	fweisbec@gmail.com, mingo@kernel.org
Subject: Re: Another RCU trace. (3.10-rc5)
Date: Tue, 18 Jun 2013 11:58:21 +0200	[thread overview]
Message-ID: <20130618095821.GJ3204@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <1370899008.9844.126.camel@gandalf.local.home>

On Mon, Jun 10, 2013 at 05:16:48PM -0400, Steven Rostedt wrote:
> On Mon, 2013-06-10 at 17:01 -0400, Dave Jones wrote:
> > On Mon, Jun 10, 2013 at 01:33:55PM -0700, Paul E. McKenney wrote:
> >  
> >  > > I saw some of Steven's patches get merged on Friday, is there anything else
> >  > > outstanding that didn't make it in yet that I could test ?
> >  > > Or is this another new bug ?
> >  > 
> >  > I have three fixes queued up at:
> >  > 
> >  > git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/urgent
> >  > 
> >  > Kind of hard to tell whether they are relevant given the interleaved
> >  > stack traces, but can't hurt to try them out.
> >  
> > Here's another. Looks different.
> > 
> > [ 2739.921649] ===============================
> > [ 2739.923894] [ INFO: suspicious RCU usage. ]
> > [ 2739.926144] 3.10.0-rc5+ #6 Not tainted
> > [ 2739.928397] -------------------------------
> > [ 2739.930670] include/linux/rcupdate.h:780 rcu_read_lock() used illegally while idle!
> > [ 2739.933826] 
> > other info that might help us debug this:
> > 
> > [ 2739.939663] 
> > RCU used illegally from idle CPU!
> > rcu_scheduler_active = 1, debug_locks = 0
> > [ 2739.946345] RCU used illegally from extended quiescent state!
> > [ 2739.949123] 2 locks held by trinity-child1/4385:
> > [ 2739.951537]  #0:  (&rq->lock){-.-.-.}, at: [<ffffffff816ea16f>] __schedule+0xef/0x9c0
> > [ 2739.955316]  #1:  (rcu_read_lock){.+.+..}, at: [<ffffffff810a5625>] cpuacct_charge+0x5/0x1f0
> > [ 2739.959101] 
> > stack backtrace:
> > [ 2739.962529] CPU: 1 PID: 4385 Comm: trinity-child1 Not tainted 3.10.0-rc5+ #6
> > [ 2739.970870]  0000000000000000 ffff8802247e3cf8 ffffffff816e39db ffff8802247e3d28
> > [ 2739.974556]  ffffffff810b5987 ffff880200f02568 000000000032585b ffff880200f02520
> > [ 2739.978353]  0000000000000001 ffff8802247e3d60 ffffffff810a57a5 ffffffff810a5625
> > [ 2739.982052] Call Trace:
> > [ 2739.984098]  [<ffffffff816e39db>] dump_stack+0x19/0x1b
> > [ 2739.986996]  [<ffffffff810b5987>] lockdep_rcu_suspicious+0xe7/0x120
> > [ 2739.990080]  [<ffffffff810a57a5>] cpuacct_charge+0x185/0x1f0
> > [ 2739.992971]  [<ffffffff810a5625>] ? cpuacct_charge+0x5/0x1f0
> > [ 2739.994716]  [<ffffffff8109609c>] update_curr+0xec/0x250
> > [ 2739.995873]  [<ffffffff810975c8>] put_prev_task_fair+0x228/0x480
> > [ 2739.997036]  [<ffffffff816ea1e6>] __schedule+0x166/0x9c0
> > [ 2739.998192]  [<ffffffff816eaf60>] ? __cond_resched_softirq+0x60/0x60
> > [ 2739.999344]  [<ffffffff816eae94>] preempt_schedule+0x44/0x60
> 
> Yeah, this one is fixed by a patch I sent out earlier, and I believe
> Peter Zijlstra is going to push it. It wasn't part of my queue.
> 
> Peter, Are you going to take the preempt_schedule_context() patch?

I have it queued, I just seem to have some problems locating Ingo to
stuff patches into -tip :/

Will continue prodding.. Ingo if you're reading! :-)

  reply	other threads:[~2013-06-18  9:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-10 19:51 Dave Jones
2013-06-10 20:33 ` Paul E. McKenney
2013-06-10 21:01   ` Dave Jones
2013-06-10 21:16     ` Steven Rostedt
2013-06-18  9:58       ` Peter Zijlstra [this message]
2013-06-18 14:40         ` Dave Jones
2013-06-18 17:32           ` Peter Zijlstra
2013-06-10 21:18     ` Paul E. McKenney
2013-06-10 21:37       ` Steven Rostedt
2013-06-10 21:54         ` Dave Jones
2013-06-10 22:10           ` Paul E. McKenney
2013-06-10 22:25             ` Steven Rostedt
2013-06-10 22:10           ` Steven Rostedt
2013-06-10 20:38 ` Steven Rostedt

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=20130618095821.GJ3204@twins.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=davej@redhat.com \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=rostedt@goodmis.org \
    /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

Powered by JetHome