Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5409867rwb; Tue, 17 Jan 2023 13:25:51 -0800 (PST) X-Google-Smtp-Source: AMrXdXuKHHlTAj3FBrFuGEUUowcRYXxeFptFbpEVBZU4WZGWldT+V9N+lbS1cjL9FndicueNnaOV X-Received: by 2002:a17:902:ef4e:b0:191:283d:5afb with SMTP id e14-20020a170902ef4e00b00191283d5afbmr5435205plx.50.1673990751783; Tue, 17 Jan 2023 13:25:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673990751; cv=none; d=google.com; s=arc-20160816; b=z1+M+8HC/U8nD5Ad+SJwpnHVn9SoGKwvRAfnaCb90jvrwLhh32rd4pD/Dry8ZmgfkL r4Czt2cGxyaXpg9rjOP55oWB1bpVnOE6OuR9hSr5jPkdll7kQoX1sAjegW5r/K95ecfa G8VDhtrPSNBh2r3KXFDJ6NliBCZYlqFG3OyGScOU81kdvCRP3hNTxq2b3pMU1OK3T6Fq J3l5gT0EYJpdIqr1sNm0SKAXi1iQe43Ypt+fkM4QzNjcS36+g5iM2ObJ6GbBhvWzfKIU C1ftqceX5HBHBjrsNrf2dm5uy65AS/tCHVW22TsDu6svSOfFvPmu5dQosmlQcanlo+OK /xBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=Py8ycH+H5C/1E0LeASp0pZ68R3R6FAv3NXtlx8T5zjE=; b=UB7T9xDND5MRW5WV2eq8MepuwWbiVL/rEy2Kj4GNzx2MjRMJ/lrM5yHkCnvTSm5ijd KeixloBjDvhmogGQk19Np/3q//vIpUPU9tiL7g0oMHZCqCULXlr+QSpXECmeOyZvxjJ/ +JopZ3jKMlIFlcJ8RdfrCoDleShnPAcZf8UkF8D0dg2huv51WIAN/doJe1vGt4d0J3Ox 8hSPHUhv0lxWA0fnd/5V6IwBmZYsehvSMzbmCPXmckmHa6POB8TiIGs66UoJq61YK0bc 9ECEZSTWJRoOcA3XY3GwXTB3DDbs8ocCNUibVtvgzsJtx/UCGHU1dyFJBXentH2+BzfS RVcw== 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 e14-20020a170902ef4e00b00189aee21a03si32200611plx.423.2023.01.17.13.25.46; Tue, 17 Jan 2023 13:25:51 -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 S229545AbjAQVIZ (ORCPT + 47 others); Tue, 17 Jan 2023 16:08:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbjAQVGd (ORCPT ); Tue, 17 Jan 2023 16:06:33 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A76390864; Tue, 17 Jan 2023 11:32:29 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 95E75B81A19; Tue, 17 Jan 2023 19:32:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D85DC433D2; Tue, 17 Jan 2023 19:32:26 +0000 (UTC) Date: Tue, 17 Jan 2023 14:32:24 -0500 From: Steven Rostedt To: Joel Fernandes Cc: linux-kernel@vger.kernel.org, Josh Triplett , Lai Jiangshan , Mathieu Desnoyers , "Paul E. McKenney" , rcu@vger.kernel.org, fweisbec@gmail.com, urezki@gmail.com Subject: Re: [PATCH v2 rcu/dev 1/2] rcu: Track laziness during boot and suspend Message-ID: <20230117143224.6fbf7da8@gandalf.local.home> In-Reply-To: References: <20230112005223.2329802-1-joel@joelfernandes.org> <20230115162504.08ef72b0@rorschach.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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 Sun, 15 Jan 2023 16:34:58 -0500 Joel Fernandes wrote: > > > +EXPORT_SYMBOL_GPL(rcu_async_hurry); > > > > > > > Where do you plan on calling these externally, as they are being > > marked exported? > > > > If you allow random drivers to enable this, I can see something > > enabling it and hitting an error path that causes it to never disable > > it. > > You mean, just like rcu_expedite_gp() ? > > > I wouldn't have EXPORT_SYMBOL_GPL() unless you really know that it is > > needed externally. > > At the moment it is not called externally but in the future, it could > be from rcutorture. If you see rcu_expedite_gp(), that is exported > too. I was just modeling it around that API. The reason for the export should have been mentioned in the change log if the patch is not obvious to why it is being exported. Thanks, -- Steve