mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Galbraith <efault@gmx.de>
To: Peter Zijlstra <peterz@infradead.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Byungchul Park <max.byungchul.park@gmail.com>
Subject: Re: hotplug lockdep splat (tip)
Date: Mon, 04 Sep 2017 18:54:16 +0200	[thread overview]
Message-ID: <1504544056.22981.13.camel@gmx.de> (raw)
In-Reply-To: <1504542701.22981.3.camel@gmx.de>

On Mon, 2017-09-04 at 18:31 +0200, Mike Galbraith wrote:
> On Mon, 2017-09-04 at 16:24 +0200, Peter Zijlstra wrote:
> > On Mon, Sep 04, 2017 at 03:27:07PM +0200, Mike Galbraith wrote:
> > > On Mon, 2017-09-04 at 09:55 +0200, Peter Zijlstra wrote:
> > > > On Sun, Sep 03, 2017 at 08:59:35AM +0200, Mike Galbraith wrote:
> > > > > 
> > > > > [  126.626908] Unregister pv shared memory for cpu 1
> > > > > [  126.631041] 
> > > > > [  126.631269] ======================================================
> > > > > [  126.632442] WARNING: possible circular locking dependency detected
> > > > > [  126.633599] 4.13.0.g06260ca-tip-lockdep #2 Tainted: G            E  
> > > > > [  126.634380] ------------------------------------------------------
> > > > > [  126.635124] stress-cpu-hotp/3156 is trying to acquire lock:
> > > > > [  126.635804]  ((complete)&st->done){+.+.}, at: [<ffffffff8108d19a>] takedown_cpu+0x8a/0xf0
> > > > > [  126.636809] 
> > > > > [  126.636809] but task is already holding lock:
> > > > > [  126.637567]  (sparse_irq_lock){+.+.}, at: [<ffffffff81107ac7>] irq_lock_sparse+0x17/0x20
> > > > > [  126.638665] 
> > > > 
> > > > https://lkml.kernel.org/r/20170829193416.GC32112@worktop.programming.kicks-ass.net
> > > 
> > > Well, flavor of gripe changed.
> > > 
> > > [  164.114290] ======================================================
> > > [  164.115146] WARNING: possible circular locking dependency detected
> > > [  164.115751] 4.13.0.g90abd70-tip-lockdep #4 Tainted: G            E  
> > > [  164.116348] ------------------------------------------------------
> > > [  164.116919] cpuhp/0/12 is trying to acquire lock:
> > > [  164.117381]  (cpuhp_state){+.+.}, at: [<ffffffff8108e4aa>] cpuhp_thread_fun+0x2a/0x160
> > > [  164.118097] 
> > >                but now in release context of a crosslock acquired at the following:
> > > [  164.118845]  ((complete)&per_cpu_ptr(&cpuhp_state, i)->done#2){+.+.}, at: [<ffffffff8108e71f>] cpuhp_issue_call+0x13f/0x170
> > > [  164.119789] 
> > 
> > Cute, I'd not seen that one.. anything special required to reproduce?
> 
> No.  I build an enterprise(ish) config, run it in a KVM box, with the
> guest being a full clone of the host, just memory constrained so it
> can't oom the host.

Qualifier: I run Steven's hotplug stress script, as that has killed oh
so many kernels.. but I never run it alone.  In this case, I run
stockfish with it, initial light survival test.  If I think things are
looking pretty solid, I turn up the heat a bit, toss other things into
the mix with random kill to make sure things don't get into a
comfortable rut.  

	-Mike

  reply	other threads:[~2017-09-04 16:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-02 11:09 hotplug lockdep splat (tip-rt) Mike Galbraith
2017-09-03  6:59 ` hotplug lockdep splat (tip) Mike Galbraith
2017-09-04  7:55   ` Peter Zijlstra
2017-09-04 13:27     ` Mike Galbraith
2017-09-04 14:24       ` Peter Zijlstra
2017-09-04 16:31         ` Mike Galbraith
2017-09-04 16:54           ` Mike Galbraith [this message]
2017-09-04 15:37       ` Peter Zijlstra
2017-09-04 17:02         ` Mike Galbraith
2017-09-04 19:44           ` Peter Zijlstra
2017-09-04 14:23     ` Peter Zijlstra
2017-09-04 17:15       ` Mike Galbraith

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=1504544056.22981.13.camel@gmx.de \
    --to=efault@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=max.byungchul.park@gmail.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    /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