From: Peter Zijlstra <peterz-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
To: Michal Hocko <mhocko-AlSwsSmVLrQ@public.gmane.org>
Cc: Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>,
LKML <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
cgroups <cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org,
KAMEZAWA Hiroyuki
<kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>,
Johannes Weiner <hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org>,
Andrew Morton
<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
Jiri Kosina <jkosina-AlSwsSmVLrQ@public.gmane.org>,
Ingo Molnar <mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Kay Sievers <kay.sievers-tD+1rO4QERM@public.gmane.org>,
Greg Kroah-Hartman
<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH] device: separate all subsys mutexes (was: Re: [BUG] potential deadlock led by cpu_hotplug lock (memcg involved))
Date: Tue, 12 Mar 2013 16:28:25 +0100 [thread overview]
Message-ID: <1363102105.24558.4.camel@laptop> (raw)
In-Reply-To: <20130312130504.GD30758-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
On Tue, 2013-03-12 at 14:05 +0100, Michal Hocko wrote:
> @@ -111,17 +111,17 @@ struct bus_type {
> struct iommu_ops *iommu_ops;
>
> struct subsys_private *p;
> + struct lock_class_key __key;
> };
Is struct bus_type constrained to static storage or can people go an
allocate this stuff dynamically? If so, this patch is broken.
WARNING: multiple messages have this Message-ID (diff)
From: Peter Zijlstra <peterz@infradead.org>
To: Michal Hocko <mhocko@suse.cz>
Cc: Li Zefan <lizefan@huawei.com>,
LKML <linux-kernel@vger.kernel.org>,
cgroups <cgroups@vger.kernel.org>,
linux-mm@kvack.org,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
Johannes Weiner <hannes@cmpxchg.org>,
Andrew Morton <akpm@linux-foundation.org>,
Jiri Kosina <jkosina@suse.cz>, Ingo Molnar <mingo@redhat.com>,
Kay Sievers <kay.sievers@vrfy.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH] device: separate all subsys mutexes (was: Re: [BUG] potential deadlock led by cpu_hotplug lock (memcg involved))
Date: Tue, 12 Mar 2013 16:28:25 +0100 [thread overview]
Message-ID: <1363102105.24558.4.camel@laptop> (raw)
In-Reply-To: <20130312130504.GD30758@dhcp22.suse.cz>
On Tue, 2013-03-12 at 14:05 +0100, Michal Hocko wrote:
> @@ -111,17 +111,17 @@ struct bus_type {
> struct iommu_ops *iommu_ops;
>
> struct subsys_private *p;
> + struct lock_class_key __key;
> };
Is struct bus_type constrained to static storage or can people go an
allocate this stuff dynamically? If so, this patch is broken.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
WARNING: multiple messages have this Message-ID (diff)
From: Peter Zijlstra <peterz@infradead.org>
To: Michal Hocko <mhocko@suse.cz>
Cc: Li Zefan <lizefan@huawei.com>,
LKML <linux-kernel@vger.kernel.org>,
cgroups <cgroups@vger.kernel.org>,
linux-mm@kvack.org,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
Johannes Weiner <hannes@cmpxchg.org>,
Andrew Morton <akpm@linux-foundation.org>,
Jiri Kosina <jkosina@suse.cz>, Ingo Molnar <mingo@redhat.com>,
Kay Sievers <kay.sievers@vrfy.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH] device: separate all subsys mutexes (was: Re: [BUG] potential deadlock led by cpu_hotplug lock (memcg involved))
Date: Tue, 12 Mar 2013 16:28:25 +0100 [thread overview]
Message-ID: <1363102105.24558.4.camel@laptop> (raw)
In-Reply-To: <20130312130504.GD30758@dhcp22.suse.cz>
On Tue, 2013-03-12 at 14:05 +0100, Michal Hocko wrote:
> @@ -111,17 +111,17 @@ struct bus_type {
> struct iommu_ops *iommu_ops;
>
> struct subsys_private *p;
> + struct lock_class_key __key;
> };
Is struct bus_type constrained to static storage or can people go an
allocate this stuff dynamically? If so, this patch is broken.
next prev parent reply other threads:[~2013-03-12 15:28 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 6:36 [BUG] potential deadlock led by cpu_hotplug lock (memcg involved) Li Zefan
2013-03-12 6:36 ` Li Zefan
2013-03-12 8:32 ` Hillf Danton
2013-03-12 8:32 ` Hillf Danton
[not found] ` <CAJd=RBB7GVp_Ry30SuZVa-FgOogEZ43UnXOGvVKesV=Qk96UDA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-12 9:35 ` Li Zefan
2013-03-12 9:35 ` Li Zefan
2013-03-12 9:35 ` Li Zefan
2013-03-12 10:15 ` Michal Hocko
2013-03-12 10:15 ` Michal Hocko
[not found] ` <20130312101555.GB30758-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2013-03-12 11:07 ` Michal Hocko
2013-03-12 11:07 ` Michal Hocko
2013-03-12 11:07 ` Michal Hocko
[not found] ` <20130312110750.GC30758-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2013-03-12 13:05 ` [PATCH] device: separate all subsys mutexes (was: Re: [BUG] potential deadlock led by cpu_hotplug lock (memcg involved)) Michal Hocko
2013-03-12 13:05 ` Michal Hocko
2013-03-12 13:05 ` Michal Hocko
2013-03-12 13:34 ` Greg Kroah-Hartman
2013-03-12 13:34 ` Greg Kroah-Hartman
[not found] ` <20130312133446.GA3514-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-03-12 16:21 ` [PATCH -v2] " Michal Hocko
2013-03-12 16:21 ` Michal Hocko
2013-03-12 16:21 ` Michal Hocko
[not found] ` <20130312162119.GB5963-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2013-03-12 18:47 ` Greg Kroah-Hartman
2013-03-12 18:47 ` Greg Kroah-Hartman
2013-03-12 18:47 ` Greg Kroah-Hartman
[not found] ` <20130312130504.GD30758-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2013-03-12 15:28 ` Peter Zijlstra [this message]
2013-03-12 15:28 ` [PATCH] " Peter Zijlstra
2013-03-12 15:28 ` Peter Zijlstra
2013-03-12 15:43 ` Greg Kroah-Hartman
2013-03-12 15:43 ` Greg Kroah-Hartman
2013-03-12 15:43 ` Greg Kroah-Hartman
[not found] ` <20130312154341.GB18852-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-03-12 16:09 ` Peter Zijlstra
2013-03-12 16:09 ` Peter Zijlstra
2013-03-12 16:09 ` Peter Zijlstra
2013-03-12 16:17 ` Greg Kroah-Hartman
2013-03-12 16:17 ` Greg Kroah-Hartman
2013-03-12 16:13 ` Michal Hocko
2013-03-12 16:13 ` Michal Hocko
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=1363102105.24558.4.camel@laptop \
--to=peterz-wegcikhe2lqwvfeawa7xhq@public.gmane.org \
--cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
--cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org \
--cc=jkosina-AlSwsSmVLrQ@public.gmane.org \
--cc=kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org \
--cc=kay.sievers-tD+1rO4QERM@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org \
--cc=lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
--cc=mhocko-AlSwsSmVLrQ@public.gmane.org \
--cc=mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.