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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4FF39C001B0 for ; Mon, 3 Jul 2023 17:15:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8ud9sTmJxKN8X8sxiF+MpnH7BruV+K7uVd4PBQmb9p4=; b=tBmATiCSlD+1bn OamLgHGwUO1fD5rpYiSDWxL5znDMpHGZEPMPuz/sfrbjQOcny6sol9fI7xcb+ZNEq7bvsGvWBP27Z kWCIFsA/PSp7oN37LTTA66L/h1/R/A0OqVfKhA2jxQEkMRRy34qp2rDIIrb557HwXD8NXd5yIAJtC gt9cD6RwZZrDEOgexja2rDL8Hj6URe5kTl24xzAW1rY1na7IX2LMFPIJehfj5DuDuOmftaZ7eKi7i A/zB/u6zJ7Ee3yllMi/xxmWTheviXftpZ4z4yFcVCGE7WVlpBvzBC8DvdxxQ3OUw+/hpflu58JtgH u25jh59nOQBnXceVCh4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qGN8v-00B51f-2q; Mon, 03 Jul 2023 17:15:17 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qGN8s-00B50R-1w for linux-arm-kernel@lists.infradead.org; Mon, 03 Jul 2023 17:15:16 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0A1662F4; Mon, 3 Jul 2023 10:15:53 -0700 (PDT) Received: from FVFF77S0Q05N (unknown [10.57.27.109]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6D85E3F663; Mon, 3 Jul 2023 10:15:08 -0700 (PDT) Date: Mon, 3 Jul 2023 18:15:02 +0100 From: Mark Rutland To: Daniel Borkmann Cc: Puranjay Mohan , 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 Subject: Re: [PATCH bpf-next v4 0/3] bpf, arm64: use BPF prog pack allocator in BPF JIT Message-ID: References: <20230626085811.3192402-1-puranjay12@gmail.com> <7e05efe1-0af0-1896-6f6f-dcb02ed8ca27@iogearbox.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7e05efe1-0af0-1896-6f6f-dcb02ed8ca27@iogearbox.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230703_101514_688918_241AAC5D X-CRM114-Status: GOOD ( 15.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 with many BPF > > programs, this adds significant pressure to instruction TLB. High iTLB 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 currently 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 Puranjay 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel