Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp3588405rwb; Sun, 30 Jul 2023 11:00:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlGDfBiQigrlM55vHl7Wu2MGc+rIepQrU/d4Zu1VznVhJ0/pyH1W0QERmAPPCZBrhPHFo71b X-Received: by 2002:a17:903:260b:b0:1b8:2c6f:3248 with SMTP id jd11-20020a170903260b00b001b82c6f3248mr6868320plb.39.1690740049444; Sun, 30 Jul 2023 11:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690740049; cv=none; d=google.com; s=arc-20160816; b=HUDLMD0pPaA8ccPLZ0hm+tZze0z0ZzTzy6plzpSBJaea+1kmG+SGEOx/Jwjpgpquor tV3fQxPuY9nuOLFPgeqiQqNZyEVLJXkMTxWhifGe+KkH1WnS0ImspvwkZuSa55435S8/ 7SxqStchoMMD2IXt6hxYeD33Lv0SougxeCq/Zen0CFr3VaivZSPs52NcXrxqxJ22Zhhn vFu6Sz5ToUJv4y9W44Wrqs5RPMhr8dNZTAZ34qGuugdRHqggd9kwLRofp7L/BlfA7DF3 E8JQpoNrJLOVQk36Da6r72wryu24f8PF9KPZPYAKP2yJqYrykPJcfHVfOD/lilcDOkzN /Z+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=fAAPafUCJ2pRxW/N+9tfq47Lu1Ww0WCELCCpvql1l10=; fh=ALwZaPwi+WnD8aJOfqEhPsrKthTxFbgpymM2z4ffwUg=; b=Icmu4C720jb3WrzWUwfdrbKxW4GEKX6Jz26A+pQOvQ+DGVYb4Twuo/kvDIq2Ni15lH kJTb/OIYjbsfcBDKD+gb+nBQR/DqxIE3p68A6zSCsi7JSZoJro7GF1m6xfHVVPUfve6p 3FtAZUu3oRyyzb1UeTtsk0sK/6bIu9XhgAu4Vv43sgDrKDpAqUTKNifnke50LU8z+VVu NMLzhO2L7GcNwWFBKNrK/FB+dQUAQgRb8122/wDCqnRI2rOjG6xuuB11+MvXCw3t+GN4 5GjjcLgNpnTIBrlzHBiIODiU3ybK9xf7nDoEJj7Dav1OlEr9fFDB9YZbYgSlG+fYZxRd WYTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=X4ZRseiD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b2-20020a170903228200b001b9d8ea026fsi6376083plh.485.2023.07.30.11.00.37; Sun, 30 Jul 2023 11:00:49 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=X4ZRseiD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229632AbjG3RWt (ORCPT + 99 others); Sun, 30 Jul 2023 13:22:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjG3RWs (ORCPT ); Sun, 30 Jul 2023 13:22:48 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40F71102; Sun, 30 Jul 2023 10:22:47 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2b9cdba1228so37234371fa.2; Sun, 30 Jul 2023 10:22:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690737765; x=1691342565; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fAAPafUCJ2pRxW/N+9tfq47Lu1Ww0WCELCCpvql1l10=; b=X4ZRseiDdqSGT748A2Sh2ob4JEtxR+TXGzikjntpXqxg/eTWkuN2OpOufJuBisxR+N 56U//CGBUZ+peAz10Kn4GfCCtgWYI8DvY5Fuw46CW0GDm7/arTaWWYjTxRzqjduX9bdH YI+qkVZ9XWCK6CCBiauz3z8US0G1sVuL7Gml0fv49JJTDyiAFHra5pqzj+nwFO1vT7iE bew3AtjOmuqAWGGZCnNiSo+kfYRWwwbkjaUM6Q8D/V77ZKt03rkyFVxbhQV5z5qDMdQN rvHHOJbWSoq29Pcs2hNPOHKJuOa3t6I2gUdOHHeyiKoGEehOTLo6QYAoQBkFKrVOpwms DrgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690737765; x=1691342565; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fAAPafUCJ2pRxW/N+9tfq47Lu1Ww0WCELCCpvql1l10=; b=kAeEg3xwIqUyu6U6lHLjHWFfuq3+Mn0FmWAzlNnqeihfPQoA7H4lxuqpoUA11q5nMT 6MD7fS1lFKg59u+SYe82JyfynfFVHOsYYeJhDsU2swdgzNBV6yCfrrF9JspA4EZFyyZ+ 5nLgoHq0xiYzZ7noWY+Pu6nX16bJStVtNUzBo4K1Uv4csAhA8uUM4hWlvdx5mBmeZ0L8 SGfwVBAA+e6FdzbTkhrn86QktmWHAXPFVOWI/Pa3+tgBgxhduwRE4483cKxhv7X+XQAr XZYMA5G2OhSJDt01DNsdy1EHLvDvrf4xQnJ4p6aRtSj45OcvDPIbyVCnd516RNslQHAd asxg== X-Gm-Message-State: ABy/qLZjn+MRg8YEX3pQCuRO9FXOY9pmDEgR2P0bq8QcDuscBWmzzEdB z0CS265XN2eHp2D1EudkNkKhFGoHm+dI5m/VaqI= X-Received: by 2002:a2e:7c0a:0:b0:2b9:cc8e:8729 with SMTP id x10-20020a2e7c0a000000b002b9cc8e8729mr4709350ljc.26.1690737765193; Sun, 30 Jul 2023 10:22:45 -0700 (PDT) MIME-Version: 1.0 References: <20230626085811.3192402-1-puranjay12@gmail.com> <7e05efe1-0af0-1896-6f6f-dcb02ed8ca27@iogearbox.net> In-Reply-To: From: Puranjay Mohan Date: Sun, 30 Jul 2023 19:22:34 +0200 Message-ID: Subject: Re: [PATCH bpf-next v4 0/3] bpf, arm64: use BPF prog pack allocator in BPF JIT To: Mark Rutland Cc: Daniel Borkmann , ast@kernel.org, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, catalin.marinas@arm.com, bpf@vger.kernel.org, kpsingh@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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 Hi Mark, I am really looking forward to your feedback on this series. On Mon, Jul 17, 2023 at 9:50=E2=80=AFAM Puranjay Mohan wrote: > > Hi Mark, > > On Mon, Jul 3, 2023 at 7:15=E2=80=AFPM Mark Rutland wrote: > > > > On Mon, Jul 03, 2023 at 06:40:21PM +0200, Daniel Borkmann wrote: > > > Hi Mark, > > > > Hi Daniel, > > > > > On 6/26/23 10:58 AM, Puranjay Mohan wrote: > > > > BPF programs currently consume a page each on ARM64. For systems wi= th many BPF > > > > programs, this adds significant pressure to instruction TLB. High i= TLB pressure > > > > usually causes slow down for the whole system. > > > > > > > > Song Liu introduced the BPF prog pack allocator[1] to mitigate the = above issue. > > > > It packs multiple BPF programs into a single huge page. It is curre= ntly only > > > > enabled for the x86_64 BPF JIT. > > > > > > > > This patch series enables the BPF prog pack allocator for the ARM64= BPF JIT. > > > > > If you get a chance to take another look at the v4 changes from Puran= jay and > > > in case they look good to you reply with an Ack, that would be great. > > > > Sure -- this is on my queue of things to look at; it might just take me= a few > > days to get the time to give this a proper look. > > > > Thanks, > > Mark. > > I am eagerly looking forward to your feedback on this series. > > Thanks, > Puranjay Thanks, Puranjay