Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1964060rwr; Fri, 28 Apr 2023 04:28:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7qibjm24yJ83JtuVAqS9CjQ7LRDemydsKgRCVZrN7G1nv8PVyCPYnFQ6wlRBbBs29ixsLT X-Received: by 2002:a05:6a21:33a0:b0:f0:3987:7b33 with SMTP id yy32-20020a056a2133a000b000f039877b33mr6820342pzb.42.1682681298498; Fri, 28 Apr 2023 04:28:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682681298; cv=none; d=google.com; s=arc-20160816; b=B7DE8UU2HqMJ+5lDd+/s6qcMtJU1oZF7DiEVQTOjJ8UQpTBFN6gCt3oclLEq/dqMAs pRh4p13jXEjzXR+uZgpjaoDyxFJLOXUxf1mMX+xWnR3KTHFw67OW7jpb5LXr8MlZzS7x 4vx0vTWeI+K+q2M6kX3U+LiXmEgQtrxJ3ulm7JpkTjN78Z7dNrxjSsDSVbP2TdwI1oO+ MNnwqB8e/3rdhcKAj/awl3KJkGJbtlScSIKMTzkrqLBaH1k/mHvglmajw0JNNXYkPxcV TdKBY1aiNvT5wKqOLfThGg7kNf66SZF1j4ntSF0HsmLvH3gXtteVPz3lulHFKbmyOTni Z95A== 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=zJgSTzgu9YtliSGCYghLe0j5dXYcDcHesNq23aEuzOY=; b=hNH6qSsYQOYEcLBV3/MaqZEyOcQc2bFKlb8ao7OsMr5cw4lcKI2hBvmR8Nfb9zUtY8 aURpe4f2lWtRQOg36UWnjS7lPPcUHCzY2oWCn1ZpXz6iYk25Pig+rz2mB8E3Yray+Ewb ymCQsTd8fGZqQzPXJKpUhYC9Pjll3tr4LjnAmCM8tebGkj3RINFwv5IIpjm1WZnzleG2 LjwSSj0+7q615CHo7r1aWaJJyxJS3zVShfRPJc+EGJAnMqzrkElYd16HfMuMYULK3/4t 88zwtLFWQ0zRIdfWYfttus9s4f0KJ/Yy4zqZl5BPI9tH2+ZPgGZJf4RR5AE59dXfDkes Z8TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@layalina-io.20221208.gappssmtp.com header.s=20221208 header.b=JzUGb2nb; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a8-20020a631a08000000b005288176b460si6728023pga.197.2023.04.28.04.28.07; Fri, 28 Apr 2023 04:28:18 -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=@layalina-io.20221208.gappssmtp.com header.s=20221208 header.b=JzUGb2nb; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231276AbjD1LWY (ORCPT + 99 others); Fri, 28 Apr 2023 07:22:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230435AbjD1LWV (ORCPT ); Fri, 28 Apr 2023 07:22:21 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A21F30C2 for ; Fri, 28 Apr 2023 04:22:19 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-3f09b4a156eso66059295e9.3 for ; Fri, 28 Apr 2023 04:22:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=layalina-io.20221208.gappssmtp.com; s=20221208; t=1682680938; x=1685272938; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zJgSTzgu9YtliSGCYghLe0j5dXYcDcHesNq23aEuzOY=; b=JzUGb2nbnQdOEy+fCVy1d07ZMcLNqZcFnocE+qzql7z90iPjdixMT6M4TPzfRwLFwj 4Fyqm5ke4Jk8pGzUBoA5KlH9jafEccsaekRgtzViTM8/v2fjj2ApEQdz0kOjx29YDiFf VLQFJu4z1dN2zyik04Hg5s5rYgl7Q2py/yW3yrB2An+MNwFmz6rRK0LC/m+muXZBxBck xlCbtJD8HiKGpWHCsnKdpYlZuoVefRHQlGQn520OE7NmX0OI+tCyNnVXEkd8Mprves0v hfqJFT3y6RAyCMsuSrDEyPsP3zaFQ9TEPG8pJ62+oQZ3ZdwcYS4dKrTunmcRkgPWlFu0 FlTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682680938; x=1685272938; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zJgSTzgu9YtliSGCYghLe0j5dXYcDcHesNq23aEuzOY=; b=J6EOPqzRQiIq5Ah6GLy6K+ZWErJtAAOHbrlV78o0Tac8C7/HIAdqdma5rm8MhJxH7K vbSnApnjR18kzVGKLso5hAgn2xlkcaW1VFOZk74BpJU9cKxYmMP8Vchxc0QA42YGlrKh Ud6NkBAX326RtmZjHNWv3ONI7Hldy/d8za6hCfkAbYcTwbYWwDHQs6XugAi5Tha+TWk9 5XrzBHy93Yy3Es11o7F9YBlRdhP+iYMRzxs9oapu+CSijDiksNb4aBjZA3bqLLble5tX QEB/bTR1q1LY2+EZLLMvdTIwNLZfTOnCpFQuYWQU8Fgx1+Codt5ITl3ROYQ+mq6XS9Yp +0xA== X-Gm-Message-State: AC+VfDwD/ock03IGsAIA3u7b5gCL/yAXv/OqwxhoSn7SDSqamf+jWiph 8cdz+GIY6nDyYA0GUpiSSrxD4Q== X-Received: by 2002:a5d:56c6:0:b0:2ee:da1c:381a with SMTP id m6-20020a5d56c6000000b002eeda1c381amr3549607wrw.69.1682680938097; Fri, 28 Apr 2023 04:22:18 -0700 (PDT) Received: from airbuntu ([104.132.45.110]) by smtp.gmail.com with ESMTPSA id m2-20020a056000008200b002f53fa16239sm20851726wrx.103.2023.04.28.04.22.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Apr 2023 04:22:17 -0700 (PDT) Date: Fri, 28 Apr 2023 12:22:16 +0100 From: Qais Yousef To: Juri Lelli Cc: Xuewen Yan , Waiman Long , Peter Zijlstra , Ingo Molnar , 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 Subject: Re: [PATCH 2/6] sched/cpuset: Bring back cpuset_mutex Message-ID: <20230428112216.cftofdixwbl4hufm@airbuntu> References: <20230329125558.255239-1-juri.lelli@redhat.com> <20230329125558.255239-3-juri.lelli@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 04/27/23 07:53, 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 to > have it there. I'm under the impression we need the whole lot back to stable, no? I'm not sure if we can decouple this patch from the rest. FWIW, I did my testing on 5.15 - so we can definitely help with the backport and testing for 5.15 and 5.10. Thanks! -- Qais Yousef