Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp563982ybb; Fri, 3 Apr 2020 07:56:35 -0700 (PDT) X-Google-Smtp-Source: APiQypKWW2/CFggF0OLJ8hcwTbv2wfzZxSsFifVy5LWsRfZlO3+k8rsaugrR8P6cusItMuuegFgG X-Received: by 2002:a05:6808:605:: with SMTP id y5mr3427888oih.172.1585925795667; Fri, 03 Apr 2020 07:56:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585925795; cv=none; d=google.com; s=arc-20160816; b=FAhN/Jbp5niwkMSiv/EzGot8PvfGLBEnkP91nzv9fk8qALfNmCGw0aIFABEtXJp5UX Mxj1WUoz+KnUo+IiDRmVeOfw1n83kOKvjC9wUZ+tgX8DIvBJfvzAgCiLq7s/MrzBfwBL k66lC4QlAVs/FeCL8zz8VEGsDB03Ap9UHgLHkZO5y0HN07hgMv89PiVvv9gHFRys8IBM ssy4vDEApJouONzQczKvxazC3cgMmR8Ke/78+rwZyqB7h95OqZDo8qzP3tXdXiSFRsfe m6hRyFYP+7Zi0Uijq6/Aj5cAlyIqglYMSWYonzPpq9584SZa+2RjlSsQEvQIFyu+eqh6 OXEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=WueqobVTQhcuC12qhXxBjSlUXTsOjQxipqHLExYdXc0=; b=Ck/hqi8InsivnaWDEnRtOn+cc1oWOQkNPlwZ8NDlRjzrB9tK7mqysCY3mxOG9Xw/iq VcIOIghMZfI9/B5oBtFByGlgVeJL2Z0m24l1lX3FrD23VGts1w9MKkIg4Dw8MmoJBpKM 1PH8mQVT52tuDPgp/pQnHK3tr7UGaMLOWZUtxx+cA7HPAQ1ilqi1HjaMogSYhADHAQ/b KLo4pp2tzzD9c+aGk1k9dCjleDm3y7UtZaU+/VKrcpCUsOljclZwQOWNkXN2GKbtDn7p 1DEVVm8Imjdl1HcjiijwIHvV4YGzoECOPQzIcGJigXOpk5V993NjF3MoQjcjZl0KSPaL IXuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=r1b480yV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v22si3748560oia.165.2020.04.03.07.56.23; Fri, 03 Apr 2020 07:56:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=r1b480yV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404094AbgDCOz3 (ORCPT + 99 others); Fri, 3 Apr 2020 10:55:29 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:34654 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404079AbgDCOz1 (ORCPT ); Fri, 3 Apr 2020 10:55:27 -0400 Received: by mail-qt1-f195.google.com with SMTP id 14so6387839qtp.1; Fri, 03 Apr 2020 07:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=WueqobVTQhcuC12qhXxBjSlUXTsOjQxipqHLExYdXc0=; b=r1b480yVF4TVvjrmu9e9b50NuC47Vk3m0YSl40WOSeQXq8lJeps/ADO+KJNjeKJzJj aGGZJZfUuaq3cRlitmPYQ2IQv77nhZDHwTOFW4atm0XMsImQWiDGLolaa9PagsIpXjgb EM2oNoZdvmXAhaoNA0X7jbbK3rIy8dL8zcXGxbVDVblZmNjnIRyoagBiqvD5Wg0DfMft Je19HLCWupm6dDLYgsaD2ZSvaSjPdO2mdFOlfM68Q7pRDcuIodjlvnxsEyHv1ozQY4VN td2ZZZmZjc3IOVeCUgGknW+DVuUoBKjpERAgu440DgNTZua5AIfvoANdbzhN23UAUpXq kuTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=WueqobVTQhcuC12qhXxBjSlUXTsOjQxipqHLExYdXc0=; b=WTC2VyVjGW6Bdvq3uq0HhQ47SRmgpyi/1gnYae1brmpJjJu6sZl3g3I3hb/F2E5ZeC etMDHQIH2F1+wobgxul9kwd0jbDqCPvnDBAzMacKgmF3r+7kVXvG5zLMCgiBO4GIW/8j sTqQlbS7tRSTQ4Cx1h1oA6Y/eChuL3fbSXwVii1dDTtfsr5I4r1dFBz9xAvABbJYHZBE yYnAWHHDd8n8kGvnnY3+/cIO7EYo9hChd2BsaElLClCQpwIhuDu4V1hvU9Fk4FdweaKo Syg/MxHOr4qelEze3qy5F9/z58rn5oG2ZomyOeJo8n/yQljBWhax6K9bmDkiUWuO2p5O fDVA== X-Gm-Message-State: AGi0PuZkh6d23U1jHy707FK6BcAfWXvHZjZUk75s4QeK+Db1wDVQzqi6 M9mbOTUB4nsrgd8qWaBd19A= X-Received: by 2002:ac8:2f15:: with SMTP id j21mr8898994qta.55.1585925726184; Fri, 03 Apr 2020 07:55:26 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::842b]) by smtp.gmail.com with ESMTPSA id f188sm3895379qkd.101.2020.04.03.07.55.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2020 07:55:25 -0700 (PDT) Date: Fri, 3 Apr 2020 10:55:23 -0400 From: Tejun Heo To: Qais Yousef Cc: Qian Cai , Prateek Sood , Li Zefan , cgroups@vger.kernel.org, LKML , Peter Zijlstra Subject: Re: Deadlock due to "cpuset: Make cpuset hotplug synchronous" Message-ID: <20200403145523.GC162390@mtj.duckdns.org> References: <20200325191922.GM162390@mtj.duckdns.org> <20200326101529.xh763j5frq2r7mqv@e107158-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200326101529.xh763j5frq2r7mqv@e107158-lin> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 26, 2020 at 10:15:32AM +0000, Qais Yousef wrote: > On 03/25/20 15:19, Tejun Heo wrote: > > On Wed, Mar 25, 2020 at 03:16:56PM -0400, Qian Cai wrote: > > > The linux-next commit a49e4629b5ed (“cpuset: Make cpuset hotplug synchronous”) > > > introduced real deadlocks with CPU hotplug as showed in the lockdep splat, since it is > > > now making a relation from cpu_hotplug_lock —> cgroup_mutex. > > > > Prateek, can you please take a look? Given that the merge window is just around > > the corner, we might have to revert and retry later if it can't be resolved > > quickly. > > I've ran cpuset_hotplug and cpuhotplug LTP tests using next-20200325 but > couldn't reproduce it. > > Hopefully that can be fixed, but if you had to revert it, do you mind picking > this instead to fix the LTP issue I encountered before? > > https://lore.kernel.org/lkml/20200211141554.24181-1-qais.yousef@arm.com/ So, I'd rather not, for now anyway. It isn't a real problem and I don't wanna add a wait vector there. Thanks. -- tejun