|
|
Log in / Subscribe / Register

Cleaning up after BPF exceptions

Cleaning up after BPF exceptions

Posted Apr 17, 2024 3:59 UTC (Wed) by Cyberax (✭ supporter ✭, #52523)
In reply to: Cleaning up after BPF exceptions by roc
Parent article: Cleaning up after BPF exceptions

I called it 5 years ago! :) The trajectory of BPF is utterly predictable, they initially hobbled themselves with a made-up restriction (static runtime verification) that perverted the entire BPF ecosystem architecture, so they had to NIH tons of stuff.

But it turned out that nobody actually cares too much about static runtime verification, so it gradually weakened. First by allowing BPF programs to run for millions of instructions instead of several thousand, then by introducing "helper" iterators that already allow BPF programs to run for multiple seconds. Now they are thinking about using runtime metering on back branches instead of static verification.

BPF will eventually be a hacky subset of WASM, fully NIH-ed. It will also experience all the typical issues with homegrown bytecode interpreters/JITs: sandbox escapes, DoS due to memory blowups, DoS due to CPU starvation, etc.


to post comments

Cleaning up after BPF exceptions

Posted Apr 17, 2024 13:34 UTC (Wed) by auc (subscriber, #45914) [Link]

Will it grow enough to fulfil Greenspun's tenth rule ? :)


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds