From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f46.google.com ([209.85.220.46]:36171 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751383Ab3KMHiQ (ORCPT ); Wed, 13 Nov 2013 02:38:16 -0500 Date: Wed, 13 Nov 2013 16:38:06 +0900 From: Tejun Heo To: Hugh Dickins Cc: Steven Rostedt , Li Zefan , Markus Blank-Burian , Michal Hocko , Johannes Weiner , David Rientjes , Ying Han , Greg Thelen , Michel Lespinasse , cgroups@vger.kernel.org, Bjorn Helgaas , "Srivatsa S. Bhat" , Lai Jiangshan , "linux-kernel@vger.kernel.org" , Tejun Heo , "Rafael J. Wysocki" , Alexander Duyck , Yinghai Lu , "linux-pci@vger.kernel.org" Subject: Re: Possible regression with cgroups in 3.11 Message-ID: <20131113073806.GA23244@mtj.dyndns.org> References: <5258E584.70500@huawei.com> <525CB337.8050105@huawei.com> <5270BFE7.4000602@huawei.com> <20131031130647.0ff6f2c7@gandalf.local.home> <20131113032804.GB19394@mtj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20131113032804.GB19394@mtj.dyndns.org> Sender: linux-pci-owner@vger.kernel.org List-ID: Hey, guys. cc'ing people from "workqueue, pci: INFO: possible recursive locking detected" thread. http://thread.gmane.org/gmane.linux.kernel/1525779 So, to resolve that issue, we ripped out lockdep annotation from work_on_cpu() and cgroup is now experiencing deadlock involving work_on_cpu(). It *could* be that workqueue is actually broken or memcg is looping but it doesn't seem like a very good idea to not have lockdep annotation around work_on_cpu(). IIRC, there was one pci code path which called work_on_cpu() recursively. Would it be possible for that path to use something like work_on_cpu_nested(XXX, depth) so that we can retain lockdep annotation on work_on_cpu()? Thanks. -- tejun