linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: kernel test robot <xiaolong.ye@intel.com>,
	LKML <linux-kernel@vger.kernel.org>,
	lkp@01.org
Subject: Re: [lkp-robot] [torture] b151f93a71: INFO:rcu_preempt_detected_stalls_on_CPUs/tasks
Date: Tue, 28 Nov 2017 15:16:30 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.20.1711281454430.1723@nanos> (raw)
In-Reply-To: <20171127215735.GP3624@linux.vnet.ibm.com>

On Mon, 27 Nov 2017, Paul E. McKenney wrote:
> On Sun, Nov 26, 2017 at 04:42:03PM +0800, kernel test robot wrote:
> > [  116.353432] rcu_preempt kthread starved for 9974 jiffies! g4294967208 c4294967207 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x402 ->cpu=0
> 
> So the immediate reason for the stall warning is that the RCU grace-period
> kthread isn't being allowed to run.
> 
> > [  116.355517] rcu_preempt     I 7464     8      2 0x80000000
> > [  116.356543] Call Trace:
> > [  116.357008]  __schedule+0x493/0x620
> > [  116.357682]  schedule+0x24/0x40
> > [  116.358291]  schedule_timeout+0x330/0x3b0
> 
> And the reason that it isn't being allowed to run is that its few-jiffy
> schedule_timeout has extended for more than nine thousand jiffies.
> 
> There was an odd combination of kernel parameters that Thomas Gleixner
> came across that could cause writer-thread stalls (since fixed in -rcu
> by the exact patch you call out here), but I don't see how this could
> cause an RCU CPU stall warning.

<Trimmed a lot of useless crap.....>

The only reasonable explanation is that either a wakeup is missed or the
timer is not expired. Hard to tell from that back trace, but it would be
interesting to figure that out. Let me think about how that can be done.

Thanks,

	tglx

  parent reply	other threads:[~2017-11-28 14:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-26  8:42 [lkp-robot] [torture] b151f93a71: INFO:rcu_preempt_detected_stalls_on_CPUs/tasks kernel test robot
2017-11-27 21:57 ` Paul E. McKenney
2017-11-27  2:48   ` Ye Xiaolong
2017-11-28 14:16   ` Thomas Gleixner [this message]
2017-11-28 16:41     ` Paul E. McKenney
2017-11-28 16:47       ` Thomas Gleixner
2017-11-28 17:07         ` Paul E. McKenney
2017-11-28 17:10           ` Thomas Gleixner
2017-11-28 17:35             ` Paul E. McKenney
2017-11-28 20:46               ` Paul E. McKenney
2017-11-28 21:08                 ` Paul E. McKenney
2017-11-29 19:08                   ` Paul E. McKenney
2017-11-29 22:07                     ` Paul E. McKenney
2017-11-29 22:38                       ` Paul E. McKenney
2017-12-01  0:45                         ` Paul E. McKenney
2017-11-28 16:52       ` Paul E. McKenney

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=alpine.DEB.2.20.1711281454430.1723@nanos \
    --to=tglx@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@01.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=xiaolong.ye@intel.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;
as well as URLs for NNTP newsgroup(s).