Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5743194rwi; Tue, 18 Oct 2022 03:37:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4z1466/PAWdHFkDytCQCrGPrIw+W7BjNm1/9E98L/200goa+01GeizOksAzx4lct6is49r X-Received: by 2002:aa7:dd01:0:b0:45c:6453:d22e with SMTP id i1-20020aa7dd01000000b0045c6453d22emr1954861edv.120.1666089476466; Tue, 18 Oct 2022 03:37:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666089476; cv=none; d=google.com; s=arc-20160816; b=F5D7bsa9EFSdPhYa+Tg/AGrpOvA+4s3GHoWvJJK9wEjG1FOOs6zpeYkxB6yIU1Dg4p JfSLtiPlhuhnNEfdcl7EGOz+SJ7OOZWKbeRGL73NWbiEKDLe32HB/99DLHVukU3p+Ugk TNqryXVLox3aPE1i/h43zPhQdrTHkoEWtEg9Loyc46ketZumjGbgvmnvDsGf2ESA4mT9 ndbplxM+pL80Al4bOOnBeJ5mDIPd9WQXOaRM9lqiz6Gcgzoh08MgByH0dzgVIIrYaZlb QrZoA7kHASs0R7/L8xevEQ4COBx6GN2jQTIMlN3ey+hX0rekiLjGNy+YfjQSNCFdEXwS pZNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=b5ojEPKtJUdVKjXuOT4CQnbeRWF5BDs+lt0QxsdbZ5w=; b=ucNO1tJQUzx3ESV2htWYlmE64wZhUpwEa8HRJDsvnXD3h5s9eaQqgMjisxvaBowN+V z/lb8oHiP/VTg1+j7fhDdQjYnuOSZYwsHHtrSaIVZcu78DpAKqPvx2WR4V4rMYnXMzgc euP1nnf73jZmnFmOGkMp6rq3h86Tw67B2+18+aqs3cAwfnGMwXKzuOnrVd8ikO2Ong3T 6paX7vnWkEs+CfnMOtzBjMdWWu1kaiPr1eGgGXcwBNe4b7v2xE80cZxvo4pvcYFPPf1V 3y9Af7LdY0xUicfQDKz6Ya9yvXXQSVzxkdbZHZs/knRzK1UolmnGOReGor5I7xfpRcLo UU+w== ARC-Authentication-Results: i=1; mx.google.com; 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 n25-20020a170906379900b00782b2a97825si9803528ejc.337.2022.10.18.03.37.25; Tue, 18 Oct 2022 03:37:56 -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; 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 S230110AbiJRJoc (ORCPT + 99 others); Tue, 18 Oct 2022 05:44:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229843AbiJRJoa (ORCPT ); Tue, 18 Oct 2022 05:44:30 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE115184; Tue, 18 Oct 2022 02:44:19 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 79C851C09D9; Tue, 18 Oct 2022 11:44:18 +0200 (CEST) Date: Tue, 18 Oct 2022 11:44:15 +0200 From: Pavel Machek To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Vladimir Oltean , Jakub Kicinski , vinicius.gomes@intel.com, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org Subject: Re: [PATCH AUTOSEL 5.10 22/34] net/sched: taprio: taprio_dump and taprio_change are protected by rtnl_mutex Message-ID: <20221018094415.GF1264@duo.ucw.cz> References: <20221009222129.1218277-1-sashal@kernel.org> <20221009222129.1218277-22-sashal@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wtjvnLv0o8UUzur2" Content-Disposition: inline In-Reply-To: <20221009222129.1218277-22-sashal@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NEUTRAL autolearn=no 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 --wtjvnLv0o8UUzur2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > From: Vladimir Oltean >=20 > [ Upstream commit 18cdd2f0998a4967b1fff4c43ed9aef049e42c39 ] >=20 > Since the writer-side lock is taken here, we do not need to open an RCU > read-side critical section, instead we can use rtnl_dereference() to > tell lockdep we are serialized with concurrent writes. This is cleanup, not a bugfix. We should not have it in 5.10. Best regards, Pavel --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --wtjvnLv0o8UUzur2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCY051bwAKCRAw5/Bqldv6 8mFDAJ9h8/xb8eW8Jrda9CW7bgcnznO8rwCfREz7MwDjrpiv8lCN79IxHx+Tk5U= =LVaB -----END PGP SIGNATURE----- --wtjvnLv0o8UUzur2--