[PATCH bpf-next v4 0/3] bpf, arm64: use BPF prog pack allocator in BPF JIT
Mark Rutland
mark.rutland at arm.com
Mon Jul 3 10:15:02 PDT 2023
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.
More information about the linux-arm-kernel
mailing list