Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp540529rwr; Thu, 27 Apr 2023 05:10:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5DljtQhK/OjrCu/C5oq+lhZbWoS8mfMyoS/MVjFZ5dfwoEBkjAIDmzz3IdmyjtiXUAAcs2 X-Received: by 2002:a05:6a00:414d:b0:5e4:f141:568b with SMTP id bv13-20020a056a00414d00b005e4f141568bmr1802111pfb.3.1682597449031; Thu, 27 Apr 2023 05:10:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682597449; cv=none; d=google.com; s=arc-20160816; b=ckdSEfwkK1lxdSPUQkV5/OD3Hi14iNNq4TxvEuoWH/5/lYOky3V8gW59zkqE3IhTjL k65onT/UQBSQlbPT2rQ5neMK7cVf+WLCP7o1j1vqIM/yDrxzZkAMrz0xJjO9/DP740/Z JX1yz6BBi7LBVJW7WEU/oBDKZdWuk/0M3Pje3FJKelu3X7dalc8A1mKLqRZaei4ZjZbK WWwxbnnXbz8njr+CpR6fzn3rd/vlvIgvoIOa+LtPYUWT1SN708eebgNJ8zt16Szdi2Oc +BNuvYdvsHaLKIU3bE4+8K6Oj7eRr20NPyjWFiFxeavxoLorGaM8BKXdNQfCwYxcOROK JcWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=fonqjuy+bDhRZIhhRO5lqR2a/06nt8nM5D2aI3NyvLA=; b=UKho9fPhuoBkyhOfu6nGZXAI1C9BBlcDrsTgo+OCaEG3TWSUUde0Dzp5AquVW83Ccy spOoM826A0kn0YrP+RA091yZFq+hC3KFHYhftEudsmDKTNXz6R6h+X9DbJCxdCsJuoLN V/HcsMPwG3Tre3hu8KTglyHUWhFjERea15i4jqMtd/fm6gkziEDo0fw8HxBb7tudH2ip nUtoBwv5MHBGaqQ0hy84X+5B+T4m7TuZucNEQ0Q5ExMp94xWb0rf6X4NYpEETFcUSvpb 84EQQxftJbFqweZ/NBfH8pJY65eQPKLyS1MbSLMkTJXZNDoe36hRreWqVeZfEBECocVY /eBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=IUIXxrOQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 135-20020a63048d000000b005183e6198aasi18440538pge.794.2023.04.27.05.10.35; Thu, 27 Apr 2023 05:10:49 -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=@gmail.com header.s=20221208 header.b=IUIXxrOQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243489AbjD0LvO (ORCPT + 99 others); Thu, 27 Apr 2023 07:51:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243336AbjD0Lu5 (ORCPT ); Thu, 27 Apr 2023 07:50:57 -0400 Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 791B9A8; Thu, 27 Apr 2023 04:50:56 -0700 (PDT) Received: by mail-oi1-x233.google.com with SMTP id 5614622812f47-38de3338abeso4576313b6e.1; Thu, 27 Apr 2023 04:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682596256; x=1685188256; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fonqjuy+bDhRZIhhRO5lqR2a/06nt8nM5D2aI3NyvLA=; b=IUIXxrOQMkMXZ0RV9QR1E/6+m8OiZGGeuWSwgCohfOhbgOSMHZ+ZU7NSD8jsjw7nkU LlY+9F6bg7XSsPNaY74LBnVP/FxNK4leHiteprPDNK6GxhuUNMRR9dubE8+tRaYU33df Lh8OJiGn83lWz9pXAt+K2QfVeXfCzwt5EJ1djxMg1Fld+SL7YpKR7yrkyP/gHAuWD7Ca K8uUPaov9RO6zaHO23XaM7W3llp38Ko/nJDjqHrdBsp7BPrTH3yi65xPH61pcGEpVwhf Mj5pcp0WnxywbTzmV8c+aE3OE/uA/kegWr0h+ZzTPq3aHzpqL2EwXhvEQdDzZE64NwFR vjTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682596256; x=1685188256; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fonqjuy+bDhRZIhhRO5lqR2a/06nt8nM5D2aI3NyvLA=; b=OAqe7voEM042nCeFxEIaq41N83AAZpPzncHh9puq3/ovX/xxq6ngPSGg4j65n0Sr1f kpCGkaq3iDXpwyYGjVy+43rROPy+9l76J1Kii70xkI7zQX7EDbHL8Ppoza+FpaLqGBJs hycmmqdcd66rfq3Bhg/0TMpY4HpuxxtUYYRWBy/6UUYTLAAsyElzt6dLw6mnEaF8ih4q pe+B5MtAgaZPlZGCKVludu+mOymskuy4/ajdplWQ+MJT6SYQM57h525WtJYmM/tu+c1C Q4rxj7QG2GscFt7w4V2GegLBlNXKk1ae99G0dT3bMPSCK2FuBNrZTASS18ARU8ycUmkP dvCg== X-Gm-Message-State: AC+VfDzKIopZKqY4nuAsgTBghKN94xncATjHazHZzSCIdTKwZ/SsYx4W rEj0MVLbSGjpZMVgg//LQx80OE+z+AoG2gfniHU= X-Received: by 2002:a05:6808:152:b0:38c:c177:a6bb with SMTP id h18-20020a056808015200b0038cc177a6bbmr447023oie.23.1682596255672; Thu, 27 Apr 2023 04:50:55 -0700 (PDT) MIME-Version: 1.0 References: <20230329125558.255239-1-juri.lelli@redhat.com> <20230329125558.255239-3-juri.lelli@redhat.com> In-Reply-To: From: Xuewen Yan Date: Thu, 27 Apr 2023 19:50:44 +0800 Message-ID: Subject: Re: [PATCH 2/6] sched/cpuset: Bring back cpuset_mutex To: Juri Lelli Cc: Waiman Long , Peter Zijlstra , Ingo Molnar , Qais Yousef , Tejun Heo , Zefan Li , Johannes Weiner , Hao Luo , Dietmar Eggemann , Steven Rostedt , linux-kernel@vger.kernel.org, luca.abeni@santannapisa.it, claudio@evidence.eu.com, tommaso.cucinotta@santannapisa.it, bristot@redhat.com, mathieu.poirier@linaro.org, cgroups@vger.kernel.org, Vincent Guittot , Wei Wang , Rick Yiu , Quentin Perret , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Sudeep Holla , =?UTF-8?B?546L56eRIChLZSBXYW5nKQ==?= , zhiguo.niu@uniissoc.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,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 Thu, Apr 27, 2023 at 1:53=E2=80=AFPM Juri Lelli = wrote: > > Hi, > > On 27/04/23 10:58, Xuewen Yan wrote: > > HI Juri, > > > > Would this patch be merged tobe stable-rc? In kernel5.15, we also find > > that the rwsem would be blocked for a long time, when we change the > > task's cpuset cgroup. > > And when we revert to the mutex, the delay would disappear. > > Honestly, I'm not sure. This change is mostly improving performance, but > it is also true that it's fixing some priority inheritance corner cases. > So, I'm not sure it qualifies for stable, but it would be probably good t= o > have it there. > Dear Juri, Thanks for the reply! We will test more in kernel5.15. Thanks! BR > Thanks, > Juri >