public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: Spurious lockdep splat in v4.15-rc9
Date: Mon, 22 Jan 2018 18:40:31 +0100	[thread overview]
Message-ID: <20180122174031.GG2228@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <20180122171018.GF1096857@devbig577.frc2.facebook.com>

On Mon, Jan 22, 2018 at 09:10:18AM -0800, Tejun Heo wrote:
> Hello, Peter, Ingo.
> 
> I get the below lockdep warning if I try to write a config into cgroup
> cpu.max file.  It's warning about A-A deadlock, but it's obviously
> spurious - the system doesn't lock up and the warning is about two
> get_online_cpus() calls nesting.

Looks real, just not instantly fatal. It would generate an actual
deadlock the moment there is a contending hotplug operation around
though.

I'll have a wee look.

  reply	other threads:[~2018-01-22 17:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-22 17:10 Spurious lockdep splat in v4.15-rc9 Tejun Heo
2018-01-22 17:40 ` Peter Zijlstra [this message]
2018-01-22 21:53 ` Peter Zijlstra
2018-01-22 22:03   ` Tejun Heo
2018-01-24 10:38   ` [tip:sched/urgent] sched/core: Fix cpu.max vs. cpuhotplug deadlock tip-bot for Peter Zijlstra

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=20180122174031.GG2228@hirez.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tj@kernel.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