Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3076007imw; Mon, 11 Jul 2022 00:53:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u8cZD2x7n3LZcoUumqJjgQkJAAbDrLT1pfDXcNX6aiWkpRrUyhi+1I6L5Qf69jvHdeFtVL X-Received: by 2002:a05:6402:4396:b0:43a:77b5:41f7 with SMTP id o22-20020a056402439600b0043a77b541f7mr22600228edc.45.1657526039708; Mon, 11 Jul 2022 00:53:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657526039; cv=none; d=google.com; s=arc-20160816; b=NYMDTNIDcSBOAMZAkN/CL33Idz9r8nnrhkq5wSFB3CcU21GEHEX3uoLzrLXL+vo0/l rkapMPOUJ73MDdV0o6/aZccQ5KIUIlIuHbMDtheCuv7fR4Dq8LOIZsKXCGb25jT5L2Ez jgg8+Hx40n7/2Sh7X2o/iBhV5kNkaKMeGSNiPgh8mtH9cKc7ZLzomfjfwG3zEMoZzJIi ma4gz8OQxnje5m7NtjCH2dMia5HgfDP8ukDzHhUHOJiWzVGtu9ao1LCHbge6j1P7W/5U reMDq8sSzZB0ZYfmOrOLxxt5xuTL8VYFu9B/TIqs5g6SYo7xmn0xFzlXRK4tihED/Gu1 BVww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gVWdkX/m1Qk9iruntOsK3yu1LrQltAXUFPSy21C5XNA=; b=gkZrM3RI2Z903Hu+L7ssn43fr9BHBThFSLTm5E11Oq1F5pt5yPXP4EA7eSVJKcrfwN vrWRzsphbuoS1JVI7Eruhcj7D7EOPCkgqm7TwNQ8ha48yoG3V292vkgEUmvgkg3wA0Py XQwXEcndD7yKU3g62eQHKNYBl82/KjvWpyYgd/TXwPkaKAcmgL5Qnv/jFmn4BNVSWiXi ZxgtJdsdmo076U4fk6eDgoFg+ex6eIsXrje13MV7glrK9YV9De6ZxksmQwECge/JxHkG +yassKiNJV8AidSX5YTzmobjIFbP7vynuzDDLrQCiwcKnw4P3+jUw+aMLV8TP0+kEDrI Y/Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VERXYZ+T; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020a1709065d0600b0072b3cf39409si10367614ejt.131.2022.07.11.00.53.35; Mon, 11 Jul 2022 00:53:59 -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=@linaro.org header.s=google header.b=VERXYZ+T; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230171AbiGKHr3 (ORCPT + 99 others); Mon, 11 Jul 2022 03:47:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbiGKHr2 (ORCPT ); Mon, 11 Jul 2022 03:47:28 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 993FD63B6 for ; Mon, 11 Jul 2022 00:47:27 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id g126so4120853pfb.3 for ; Mon, 11 Jul 2022 00:47:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=gVWdkX/m1Qk9iruntOsK3yu1LrQltAXUFPSy21C5XNA=; b=VERXYZ+T9H58wkavpjHTanqt00qi09rylxLZqPmDCjG9ATm6O66Ah6LdvdOPj4RIpU F12Y48ETmxqLzTmtbHJ8ktQ5cjUEGYFSp9Fh4Eq8tJTlAaA4RepwoOeccHkv8FahuJcD 2yNGmXbEXKw/k3awYd8j04XSnHttd6Vw75cRSIUT659bmlxPnd7fOhig1FXbFrzeR13q /7Iv1Z/I/QSQG0MzN7Hofj3haTQ50R8IOvuXAg86VHH3y4mBVWCJdFVLDK+0PdsKUAQA snxlexk7c/buV7QDhFRBSwU4XktxxoPzPWAADR2bIfbqltFmkuWaDpVx5e5+w2/GF101 3KpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=gVWdkX/m1Qk9iruntOsK3yu1LrQltAXUFPSy21C5XNA=; b=AXdFbS7ljHSZs4dZNSqE5C3HOE4tX53mP2C4zGlxiTVjCqKDu7CDPcpVNSauoL/GXb ogQd0U/c+IS04ZudpAb6la5sdHf6KJE98RxyAH67FVh18Zu8ojYR8YRMOxzTYzOwksix 6569MQpJE8dfos4UdIJcu03j/IAYSrCBiaQcQfkxPUMGt2Z4qN5+ISX6KOHhsVUbZtbF J9mm13pJoMMIglUAAC/8PWCsJyrqtwzBJ388s6KC/8okWVcvlsKdXg8QLpSCFbPX9dxQ 5hPbK3sblP1MClQS9eH+WbEzahZVzV8hHtTh0KfTZCtW+tN4qH8O4W0swjiFVPUG9LdC jnOg== X-Gm-Message-State: AJIora/5vLN3K9mrLx83xl3Lvkp2SKzHVZ7TwlXi55AxHdIzFHJqF32i qJmPefDtC1fENckVtq7R+86yyA== X-Received: by 2002:a62:79d7:0:b0:52a:b557:2796 with SMTP id u206-20020a6279d7000000b0052ab5572796mr14342440pfc.34.1657525647022; Mon, 11 Jul 2022 00:47:27 -0700 (PDT) Received: from localhost ([122.171.18.80]) by smtp.gmail.com with ESMTPSA id fh17-20020a17090b035100b001ec932d7592sm4095335pjb.9.2022.07.11.00.47.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 00:47:26 -0700 (PDT) Date: Mon, 11 Jul 2022 13:17:24 +0530 From: Viresh Kumar To: Xuewen Yan Cc: Lukasz Luba , Xuewen Yan , rafael@kernel.org, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, linux-kernel@vger.kernel.org, ke.wang@unisoc.com, xuewyan@foxmail.com, linux-pm@vger.kernel.org Subject: Re: [PATCH] sched/schedutil: Fix deadlock between cpuset and cpu hotplug when using schedutil Message-ID: <20220711074724.tbwefl42fpf2aq5a@vireshk-i7> References: <20220705123705.764-1-xuewen.yan@unisoc.com> <9ade9d43-3ed1-1239-f26e-73145856275a@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 11-07-22, 15:43, Xuewen Yan wrote: > This deadlock occurs when we run the monkey test on an Android phone, > at the same time, randomly put online or offline a cpu core. > Indeed the thread-A which get the cgroup_threadgroup_rwsem and waiting > for the cpu_hotplug_lock is the thread whose name is "OomAdjuster" in > android. It would be better to reproduce this on mainline kernel, no android, and tell us the steps. We don't want to chase an Android only issue, just in case. Thanks. -- viresh