Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp176329rwr; Wed, 26 Apr 2023 22:57:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4IVvQH0sYiu21TBQc2c+4qkluF65a5m5mYSej+nl/sbpd+sEB0FXtvHkIG/EuHbkoRk90f X-Received: by 2002:a05:6a00:10d2:b0:633:4c01:58b4 with SMTP id d18-20020a056a0010d200b006334c0158b4mr778130pfu.2.1682575047579; Wed, 26 Apr 2023 22:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682575047; cv=none; d=google.com; s=arc-20160816; b=ZfzAQgofP2ltkvO0qnCqYcetgbcqyXSCKDUYFi7197aV1Hs8GjC5oO9i3fvj1b5G6G Gv4kf1DugLKai5ZGjwwFsfxfz31nt4VsRsn2mtn+Q4Q23d39ov3qVB4eHi7SEE5pCsTd GbgDv0t5O+DWb8CceFYC0Zay40WSel5DaxPOuuw/4+G5I/pvhOzKZPDBsJMeJD6+fjt+ MAmYuMd/fiDscCZa9DeDfzNYTGP1bCOHn7pxa2KOinVZdKrf5JkCNku2RU7tmeuVpyGl KPyjaf4vJVnCJRTNHLW5G1UfohIeFWtWTwwrgVAe4lxrRygFsysBCRE6fKudU/+37tyf CDcg== 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=TACSMy7Ug2sStH4pdeuOCgf93fUckqHIu/mqCYHofQw=; b=Ok8O/zY6CYmGELMLzPPcEZYzeGSum2qsQcNs286UWhg+SCMXy3UJ+I2LU2ue7YNHcO 3XW/XaoGS1BE7/KuNOGkpjqFaxYeJf9x30B03oYRNUh5/ezqwGzOJZ4P4euy+EFJ/u19 +tDylF6HkfWbH0z63Ev0uTztaiZqoaJ5CjIrkgabACsZZBoDGmbQ+Re5/9mYTzoj9ak9 /tfxeKD0525fKPLF0zDjcBc2gBz5k4z8t05OW69D7+/bl76eM0/uRYSMsIfRLdtbz0Ze PwHl2CZ3XiNfeOOsaSlVRYULaSKy6WDEGh2/cTVAEGxu6ElfZFw6mrEl3Hf58HJJAhQ0 SawQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XVNW1wgP; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c12-20020a056a00008c00b0063f17d152c6si15561514pfj.300.2023.04.26.22.57.14; Wed, 26 Apr 2023 22:57:27 -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=@redhat.com header.s=mimecast20190719 header.b=XVNW1wgP; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232094AbjD0FyX (ORCPT + 99 others); Thu, 27 Apr 2023 01:54:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233083AbjD0FyW (ORCPT ); Thu, 27 Apr 2023 01:54:22 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06E033585 for ; Wed, 26 Apr 2023 22:53:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682574820; h=from:from:reply-to:subject:subject: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=TACSMy7Ug2sStH4pdeuOCgf93fUckqHIu/mqCYHofQw=; b=XVNW1wgPbTq2Wv5jTK68psaFLmA2e24+R4WpApAh78TzlYzXMcRSQTqC2zIsrPv9Nu9exk cczcLeDln4EAPEZHFMm5TY6vXfzygytot21LUI9Vo6ZB/TByQnfgW3Ovp9qGPHTzbRjdnW O5vT6uFbw03XRh9QX59vJOFFRwl3+ag= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-284-GUvXmIezPqCQDz1gc7gAbA-1; Thu, 27 Apr 2023 01:53:38 -0400 X-MC-Unique: GUvXmIezPqCQDz1gc7gAbA-1 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-3ef25aaeb5bso54395571cf.3 for ; Wed, 26 Apr 2023 22:53:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682574817; x=1685166817; 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=TACSMy7Ug2sStH4pdeuOCgf93fUckqHIu/mqCYHofQw=; b=Jq20SYKPdLHpKY/8xjw7SMHBVQCfjwvD0n0dH2Pq/dWUA85sqcVBWyqo7IORt4snXH VavYqlh3DtYhJD0A905c8cce1b4i23eTHBvdA2g0DIC6RArG9qOMNAE9KOnQ4vQZn3/d PFIynDrXCY63G9FUvpKiCE9ro759qRu7j0rNohlwz9koXxo48hWU9LvLuwlJnxSvKuY9 t6TW065Sj07rS1n7oQgMjz0nHg47ti6l3eIA9fskiAxd/BCLdekps0N4diSHwPjvKbhn RtbKFSMwT10Su57b9S843ULn52MlfEkMR6TPbgIZYRXQWBTEbLTnRpuv8Sg4POSSTRzG b8RQ== X-Gm-Message-State: AC+VfDxVyq5DcKHv4/fbyKx7FI9I5IxhwG9i8hwlODi1FMMMG1IqqX2H roq08X3IfDNYSrUDiLC7Dx/IAGF/ModIIsYqUBE7/MfDgTnWAGWZOBayx/OizciTpDzgj5CdI+H 75ZBROJMiL7KGNnGH5PS2g1VT X-Received: by 2002:a05:622a:654:b0:3ef:5ec1:dab3 with SMTP id a20-20020a05622a065400b003ef5ec1dab3mr525104qtb.30.1682574817511; Wed, 26 Apr 2023 22:53:37 -0700 (PDT) X-Received: by 2002:a05:622a:654:b0:3ef:5ec1:dab3 with SMTP id a20-20020a05622a065400b003ef5ec1dab3mr525086qtb.30.1682574817237; Wed, 26 Apr 2023 22:53:37 -0700 (PDT) Received: from localhost.localdomain ([176.206.13.250]) by smtp.gmail.com with ESMTPSA id gd21-20020a05622a5c1500b003f0af201a2dsm1921750qtb.81.2023.04.26.22.53.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 22:53:36 -0700 (PDT) Date: Thu, 27 Apr 2023 07:53:27 +0200 From: Juri Lelli To: Xuewen Yan 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 Subject: Re: [PATCH 2/6] sched/cpuset: Bring back cpuset_mutex Message-ID: References: <20230329125558.255239-1-juri.lelli@redhat.com> <20230329125558.255239-3-juri.lelli@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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 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. Thanks, Juri