BPF in the Agentic Era
12 hours ago
- #LLMs
- #Rust
- #BPF
- BPF must adapt to the era of LLMs and coding agents, addressing slow feedback loops caused by the verifier and VM testing requirements.
- Verifier errors are often opaque; improvements inspired by Rust’s clear error messages are needed, and using Rust for BPF could reduce verifier errors for well-intentioned programs.
- Key technical enhancements needed include better loop handling via widening, removing verifier limitations, larger stacks, and improving tooling for coding agents via standard interfaces like drgn.
- There’s a crisis in BPF code review due to an influx of low-quality patches from LLMs; maintainers urge contributors to assist with reviews and consider using LLMs for reviewing.
- Starovoitov advocates for making BPF work with user-mode Linux to speed up testing and supports integrating WebAssembly if performance meets BPF JIT levels.