From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F23C1C43334 for ; Mon, 11 Jul 2022 07:47:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230187AbiGKHra (ORCPT ); Mon, 11 Jul 2022 03:47:30 -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-Google-Smtp-Source: AGRyM1vH9arVcJAj5xz0lDtflVHw1uEgRKfdipmUFQRQlurlJJUI0mfxMQcQ6l6SqEFgsottlDcBuQ== 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: 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