Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1220689

Re: Possible deadlock related to CPU hotplug and kernfs

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: Possible deadlock related to CPU hotplug and kernfs
Date 2015-09-08 12:50 +0200
Message-ID <q6oDn-1OS-5@gated-at.bofh.it> (permalink)
References <q3O1k-819-9@gated-at.bofh.it> <q500q-4vH-19@gated-at.bofh.it> <q5V8l-1G9-1@gated-at.bofh.it> <q6bPQ-gZ-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Sep 07, 2015 at 11:33:21PM +0200, Rafael J. Wysocki wrote:
> On Monday, September 07, 2015 11:11:19 AM Jiang Liu wrote:
> Peter, Ingo, some help from lockdep expert is needed.
> 
> We have a splat that almost certainly is a false positive (the original report
> is here http://marc.info/?l=linux-kernel&m=144109156901959&w=4) and no ideas
> how to make it go away.  Can you please have a look and advise?

I can't even find the relevant code :/

From that email I get kernfs_fop_write() which calls
kernfs_get_active(), but that does _NOT_ call cpu_up(), so that
callchain is shite.

The actual lockdep splat is also not really helpful, and is spraying
names over: acpi, device, sysfs and kernfs (do we really need that many
layeres of obfuscation for a simple file?)

So, please, start by explaining the thing proper such that simple people
like me know what to look for.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Possible deadlock related to CPU hotplug and kernfs "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-09-07 23:10 +0200
  Re: Possible deadlock related to CPU hotplug and kernfs Peter Zijlstra <peterz@infradead.org> - 2015-09-08 12:50 +0200
    Re: Possible deadlock related to CPU hotplug and kernfs "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-09-09 00:10 +0200

csiph-web