Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2297326rwb; Mon, 15 Aug 2022 02:47:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR4THFb3bcvsage5DwBFSVwAuEIUfXaybuSgI794zZbF0U+t/g8JBLpSKQRvf+am1v32GGlu X-Received: by 2002:a17:907:2e0d:b0:731:7afa:f14f with SMTP id ig13-20020a1709072e0d00b007317afaf14fmr10514636ejc.704.1660556833192; Mon, 15 Aug 2022 02:47:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660556833; cv=none; d=google.com; s=arc-20160816; b=ZyPWfBcoAIwjYnUoV6woIX5ZDEEiT6OnMmm/yG7+8ZyMcjGWashTHS2nmamP55koVT Wgtsvjtx9BxEWM2SXxuyIuK41VjyCeIKdjkj18iRH9f9j7vLOSphhMtdP0LauZyk+9dD KnV8OVhgZNud5v6NPqItQbroliboCBU+OqSh9nl9zwNdCg6n0uYZkK/fdU9Mev3Y2byA usQIbumOEQ7WHq1qvkbFy2QYlyhES3DjxB4bpc4kt4p5l9LN+I/TNQ9WNCpYlwyJPLBs iqB9tLcxsgwbe1u7xIqdr3li+qmX2lEWAVFB6d4MV5d1I4yyHqXzae+7iQy23wCznFE+ ibrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=xLRt920Q9NTts46M0mpTJHEHc61MGrl7arvYDWKeJLY=; b=zz0oTNnrxJ/p5ZEuBvZpmpJ4tCrrTL0ygWMTs/JvunjkaFfbBX8R7vYot5fWgYggaW ezN7IkoIbTdK6DLxW0M7Cmp4cNgvj/OwI1binLcx4J2DTzFKumvT6Cqm+f/1gI06ObY8 xmRFBh+DjvEiVH+M95GVOYqDKwU4tdH1eES24WrlTT0BfpbKFRw1pI9DObUcbqXSRfy5 6zJn4hlDBGStlje5ELbJYBrvuG6Fgo9OheOxM8MnQkUA2gWhZ61IlcZydDc241PBx+hg 3AKzYcopKzF9hy/ceqfT+ts5Vy3hr5uNR3wmLov14gWoWyRPNAU6Z6fBWudC7U15fsDo fCkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=E9YwOiQ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2-20020a056402440200b0043be7b8aebcsi8075500eda.97.2022.08.15.02.46.47; Mon, 15 Aug 2022 02:47:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=E9YwOiQ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242033AbiHOJjl (ORCPT + 99 others); Mon, 15 Aug 2022 05:39:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230153AbiHOJjj (ORCPT ); Mon, 15 Aug 2022 05:39:39 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 538F71EC61; Mon, 15 Aug 2022 02:39:38 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 0EFDD34AAE; Mon, 15 Aug 2022 09:39:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1660556377; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xLRt920Q9NTts46M0mpTJHEHc61MGrl7arvYDWKeJLY=; b=E9YwOiQ68gGhWyMiRiOYeVdDaQUKtIKU4zieATyAoF5818GH7zRobg+wLoG3UwPtQKb233 Roaao9shepnktb6xBF9IfdPMSvpitaha+8BA5ugV3cQ6r89TiNLeMq9Chvtl8BB3hKc02/ qpcsakl9FCZQX72Lr9LuVDej/1rrTUc= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id BADFB13A93; Mon, 15 Aug 2022 09:39:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 6U+RLFgU+mIvXwAAMHmgww (envelope-from ); Mon, 15 Aug 2022 09:39:36 +0000 Date: Mon, 15 Aug 2022 11:39:35 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Xuewen Yan Cc: Mukesh Ojha , Tejun Heo , Imran Khan , lizefan.x@bytedance.com, hannes@cmpxchg.org, tglx@linutronix.de, steven.price@arm.com, peterz@infradead.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, Zhao Gongyi , Zhang Qiao Subject: Re: Query regarding deadlock involving cgroup_threadgroup_rwsem and cpu_hotplug_lock Message-ID: <20220815093934.GA29323@blackbody.suse.cz> References: <8245b710-8acb-d8e6-7045-99a5f71dad4e@oracle.com> <26d0e4cc-be0e-2c12-6174-dfbb1edb1ed6@oracle.com> <224b19f3-912d-b858-7af4-185b8e55bc66@quicinc.com> <20220815090556.GB27407@blackbody.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 15, 2022 at 05:25:52PM +0800, Xuewen Yan wrote: > Your means is that the problem should be fixed by [1]+[2]'s revert ? I understood that was already the combination you had tested. You write in [T] that [1] alone causes (another) deadlock and therefore the revert of [2] was suggested. > I just tested the case which reverted the [2]. Need I test with [1] and [2]? It'd be better (unless you haven't already :-), my reasoning is for the [1]+[2] combo. Thanks, Michal [T] https://lore.kernel.org/r/CAB8ipk_gCLtvEahsp2DvPJf4NxRsM8WCYmmH=yTd7zQE+81_Yg@mail.gmail.com/