Navigation
Search
|
[$] Taking BPF programs beyond one-million instructions
Wednesday April 16, 2025. 06:44 PM , from LWN.net
The BPF verifier is not magic; it cannot solve the
halting problem. Therefore, it has to err on the side of assuming that a program will run too long if it cannot prove that the program will not. The ultimate check on the size of a BPF program is the one-million-instruction limit — the verifier will refuse to process more than one-million instructions, no matter what a BPF program does. Alexei Starovoitov gave a talk at the 2025 Linux Storage, Filesystem, Memory-Management, and BPF Summit about that limit, why correctly written BPF programs shouldn't hit it, and how to make the user experience of large BPF programs better in the future.
https://lwn.net/Articles/1017116/
Related News |
25 sources
Current Date
Apr, Sat 19 - 17:53 CEST
|