Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7383819rwl; Mon, 9 Jan 2023 23:25:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXvtfWK+dQ4qP07KmbkcQnwfdmJ7vMc0iqYoRW0lBMY6Iraf2w01OdsmQB9ZnlNiybevcnMq X-Received: by 2002:aa7:91d9:0:b0:575:2337:17bf with SMTP id z25-20020aa791d9000000b00575233717bfmr77094896pfa.12.1673335535591; Mon, 09 Jan 2023 23:25:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673335535; cv=none; d=google.com; s=arc-20160816; b=aoW5NHXZEgGmmkazdfDuOKf+upH/JI82HgHQz76C5TWcG24dD51LmZoZWKNh07Nq2Q jBpPU7euLiqTQ1hbNgNNTkyHkxjcCYctp6xNU7NKI9U/Q6Lt69ePYv7Zni/XvX1OAhiR GtFJBGZWtkcDjNnROY3CudhFTdgbgEUZhQX4LBcDKJ/fjE5rLBbzc5QHTMzsB0wdnD7W LcvRUbHUH4TSMn91iJbf9GHKqS9WpTYQFIXynIP0yrzfo/tTn0qWB6g7KpHFVM2kArrm gql6011debhtt2DYSQFqeKHDrtI8tbhlvDapfrqogYTWeaU66JkkYbtJndR5THmcTPlU rZHA== 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=rpaCyBnj/CorxG1hG2G5lI8rSgLMIptBeYjRK9lXzFM=; b=kzNfybZJmyDKDKzwZVGcYsbY+kAePoPCvmCAqO6WP4Xzt3Ul+Mp3yoLqQ4+qVO5vXx yWW1uHmTupfVrev4BmjIUWBECySEEVgm1YatYFLFjmR1zdUZPlhJ++gaKGsOQFSnDYaN 8XZJRkK3O58H1aIr0cK+4WK5owi92P46A7mqAY36usC2CQGAz79w7rDUFchTvUpteR+G 0eiHz/cCeVrKD5Y+TG8w1svPNrHLn5wujslWpe9iwfFuojFdaSNjgzfiKxSu8WiG00qb CUJWgunj8UvC2NFz3mGpP8R2LPoaVsuW96WYlpiGukfYbtwVRR5+n2jrguOESigad7vd EVOQ== 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 s6-20020a056a00178600b00576ad2ad835si12803244pfg.13.2023.01.09.23.25.28; Mon, 09 Jan 2023 23:25:35 -0800 (PST) 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 S230044AbjAJGtO (ORCPT + 53 others); Tue, 10 Jan 2023 01:49:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229763AbjAJGtE (ORCPT ); Tue, 10 Jan 2023 01:49:04 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09E16321BB; Mon, 9 Jan 2023 22:49:03 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id 6E23168B05; Tue, 10 Jan 2023 07:49:00 +0100 (CET) Date: Tue, 10 Jan 2023 07:49:00 +0100 From: Christoph Hellwig To: Tejun Heo Cc: Christoph Hellwig , axboe@kernel.dk, josef@toxicpanda.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] blkcg: Drop unnecessary RCU read [un]locks from blkg_conf_prep/finish() Message-ID: <20230110064900.GA10277@lst.de> References: <20230105212432.289569-1-tj@kernel.org> <20230105212432.289569-2-tj@kernel.org> <20230108170240.GA19165@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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 Mon, Jan 09, 2023 at 10:48:55AM -1000, Tejun Heo wrote: > Now that all RCU flavors have been combined, holding a spin lock, disabling > irq, disabling preemption all imply RCU read lock. Can you write it like this in the commit log, please? > I can drop the changes but this actually bothers me. The annotation has been > broken for a *long* time and nobody noticed. Furthermore, I can't remember a > time when __acquires/__releases notation caught anything that lockdep > couldn't trivially and can't even think of a way how it could. AFAICS, these > annotations don't contribute anything other than preservation of themselves. > I don't see why we would want to keep them. People have noticed it. It just hasn't been a priority as there are lots of even more problematic things.