Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2634168rwb; Mon, 15 Aug 2022 08:41:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR63t3fBFvXGdhVuT3rmfoxU+XmZ+acMDTR7KmFTblcTV1nnK31YOh1IzEcVGC+FQEx6CAhk X-Received: by 2002:a17:907:628a:b0:72f:678d:6047 with SMTP id nd10-20020a170907628a00b0072f678d6047mr10641202ejc.456.1660578076310; Mon, 15 Aug 2022 08:41:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660578076; cv=none; d=google.com; s=arc-20160816; b=s0oI22E0+rgRmc7s9YW9BQyai7DffxceM+6ymwrpCB672dPXQeFHrdKj2NP5k2K3e0 5mNZRJt8dUhYsnPCr1LnJ469WXP4iT+iq5zBrEHJ0LycKC6uftmOiRR2979Y9kvS4LId fTeULthVJWKFzxXv2tNl/O5/Cf12O6Z/dHEtBVFS7J/PkP4dX+BxUjdN7K+lY+5xcb90 1fshmqQtHNxD4IYFJyd4ulbJey33ustQmGFqov/T0Y8W2gw8cqGXR0ZNFfQUiS8BoXDt AGzb+Fr2ZEPckSEpoHAGOX48htCPv6vRO1kkLf+FxOCt/FibnDgklGS7d8Gm5svHuMXE iIxg== 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=pcv1jiBEQhIVwFk32jy78CuKXPXNiqnaJNTORUuo2nE=; b=R7kw1Cf3BUnCbfP70RmwlLtl0FdMVLF3kFVRY4Fy617oW9OHFhHQjSOH2obc/NLgPm nUvnzwxhHQL35I26E6W5PnIlTG7jiu9VI9N7cdbMwkiXX6MLJ7OeW4zgjhYC9wgltP/v x0whArqMR/2r4kyh8qAseNutpP6RVGhLYPpeWgAVt913hBUQwWVHiPDQk16ZRxmaJAuV 1E/B3M1205jI7kUGrPZx4wSkiYPHxg9RWubjK0IJhwN/Q/YYRdRoIvQlm7zlnvduRA0Q lh4uEn96M7u6r3rSa36LNDKTEVYkLKf2hPY/f93PA5Uu3cpKUrU966RiiVCqgs1DS0Iu nZYw== 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 p2-20020a17090635c200b0072f664f368asi8093822ejb.199.2022.08.15.08.40.50; Mon, 15 Aug 2022 08:41:16 -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 S229835AbiHOPjY (ORCPT + 99 others); Mon, 15 Aug 2022 11:39:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229736AbiHOPjU (ORCPT ); Mon, 15 Aug 2022 11:39:20 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 862AB13F69; Mon, 15 Aug 2022 08:39:19 -0700 (PDT) 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 4161FB80F96; Mon, 15 Aug 2022 15:39:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCB0DC433D6; Mon, 15 Aug 2022 15:39:14 +0000 (UTC) Date: Mon, 15 Aug 2022 11:39:21 -0400 From: Steven Rostedt To: Alexei Starovoitov Cc: =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Network Development , Alexei Starovoitov , Daniel Borkmann , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , bpf , Magnus Karlsson , "Karlsson, Magnus" , Jonathan Lemon , Edward Cree , Toke =?UTF-8?B?SMO4aWxhbmQtSsO4cmdl?= =?UTF-8?B?bnNlbg==?= , Jesper Dangaard Brouer , Andrii Nakryiko , LKML , Linus Torvalds , Christoph Hellwig , Peter Zijlstra , Josh Poimboeuf , Thomas Gleixner , Andrew Morton Subject: Re: [PATCH bpf-next v4 2/6] bpf: introduce BPF dispatcher Message-ID: <20220815113921.5b3305f5@gandalf.local.home> In-Reply-To: <20220815111658.58d75672@gandalf.local.home> References: <20191211123017.13212-1-bjorn.topel@gmail.com> <20191211123017.13212-3-bjorn.topel@gmail.com> <20220815101303.79ace3f8@gandalf.local.home> <20220815111658.58d75672@gandalf.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, 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 On Mon, 15 Aug 2022 11:16:58 -0400 Steven Rostedt wrote: > > It sounds that you've invented nop5 and kernel's ability > > to replace nop5 with a jump or call. > > Actually I did invent it. > > https://lore.kernel.org/lkml/20080210072109.GR4100@elte.hu/ > > > I'm the one that introduced the code to convert mcount into the 5 byte nop, > and did the research and development to make it work at run time. I had one > hiccup along the way that caused the e1000e network card breakage. > > The "daemon" approach was horrible, and then I created the recordmcount.pl > perl script to accomplish the same thing at compile time. I guess you were not paying attention to my talk at the Kernel Recipes I invited you to in 2019. The talk I gave was the history of how fentry came about. https://kernel-recipes.org/en/2019/talks/ftrace-where-modifying-a-running-kernel-all-started/ ;-) -- Steve