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=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no 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 8A36CC432C3 for ; Thu, 14 Nov 2019 13:59:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5760B206DA for ; Thu, 14 Nov 2019 13:59:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="fDF2HEor" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726528AbfKNN7C (ORCPT ); Thu, 14 Nov 2019 08:59:02 -0500 Received: from merlin.infradead.org ([205.233.59.134]:49660 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726374AbfKNN7B (ORCPT ); Thu, 14 Nov 2019 08:59:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=RO0R2uX0myetPZy48Pt/keNvG06wRn8KGY9AfrvLL9w=; b=fDF2HEor8gvhw4Pm2d2dZsEuY6 hr3efgYJQK4s6muLfa50ubDy7JM+a3TNIPwqyuF4OG1x0nMt3G+m7cAPerQMZKoGfjx//JLLppk9i b6qGJuWK2mpIFb0Z6/CeRD0x7r7/xPLhmB7i1qN48GXafH2eGh2dVJyDhP40StFSaUSz82O4Uv+2U aoqsKCxRiHUtR3WwLIVJl/6wXP4vLEvg1EqWPEe+3hx9Jev5yIV8/cGeiNKu4zVVCUYUJDnYLPALq p211Yt6/ZpyXzVPZuA/J5isFOFNaUgKAGWC2Zay8+jtArcBeFlAbFsotsi4pPl6TECMl6ux54JI0G eY5gQxzg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iVFe5-0007TP-8Q; Thu, 14 Nov 2019 13:58:49 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id E62E730018B; Thu, 14 Nov 2019 14:57:39 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id A107F203A589D; Thu, 14 Nov 2019 14:58:47 +0100 (CET) Date: Thu, 14 Nov 2019 14:58:47 +0100 From: Peter Zijlstra To: =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= Cc: Edward Cree , Netdev , Alexei Starovoitov , Daniel Borkmann , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , bpf , Magnus Karlsson , "Karlsson, Magnus" , Jonathan Lemon Subject: Re: [RFC PATCH bpf-next 2/4] bpf: introduce BPF dispatcher Message-ID: <20191114135847.GY4131@hirez.programming.kicks-ass.net> References: <20191113204737.31623-1-bjorn.topel@gmail.com> <20191113204737.31623-3-bjorn.topel@gmail.com> <96811723-ab08-b987-78c7-2c9f2a0a972c@solarflare.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Thu, Nov 14, 2019 at 12:21:27PM +0100, Björn Töpel wrote: > Again, thanks for the pointers. PeterZ is (hopefully) still working on > the static_call stuff [3]. The static_call_inline would be a good fit > here, and maybe even using static_call as a patchpad/dispatcher like > you did is a better route. I will checkout Nadav's work! Yes, I'll repost that once the current pile of text_poke and ftrace changes lands.