From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87DE0C49EB9 for ; Mon, 28 Jun 2021 15:33:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 72EEC61C83 for ; Mon, 28 Jun 2021 15:33:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239049AbhF1Pew (ORCPT ); Mon, 28 Jun 2021 11:34:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:46586 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233925AbhF1PRP (ORCPT ); Mon, 28 Jun 2021 11:17:15 -0400 Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 026026144F; Mon, 28 Jun 2021 15:14:47 +0000 (UTC) Date: Mon, 28 Jun 2021 11:14:46 -0400 From: Steven Rostedt To: Tanner Love Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, "David S . Miller" , Eric Dumazet , Mahesh Bandewar , "Darrick J . Wong" , Arnd Bergmann , Petr Mladek , Sergey Senozhatsky , John Ogness , Ingo Molnar , Jakub Kicinski , Andrii Nakryiko , Antoine Tenart , Alexander Lobakin , Wei Wang , Taehee Yoo , Yunsheng Lin , Willem de Bruijn , Tanner Love Subject: Re: [PATCH net-next v3 1/2] once: implement DO_ONCE_LITE for non-fast-path "do once" functionality Message-ID: <20210628111446.357b2418@oasis.local.home> In-Reply-To: <20210628135007.1358909-2-tannerlove.kernel@gmail.com> References: <20210628135007.1358909-1-tannerlove.kernel@gmail.com> <20210628135007.1358909-2-tannerlove.kernel@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Jun 2021 09:50:06 -0400 Tanner Love wrote: > Certain uses of "do once" functionality reside outside of fast path, > and so do not require jump label patching via static keys, making > existing DO_ONCE undesirable in such cases. > > Replace uses of __section(".data.once") with DO_ONCE_LITE(_IF)? I hate the name "_LITE" but can't come up with something better. Maybe: DO_ONCE_SLOW() ?? Anyway, besides my bike-shedding comment above... Acked-by: Steven Rostedt (VMware) -- Steve