Give up on proving termination
Give up on proving termination
Posted Jun 19, 2026 23:34 UTC (Fri) by roc (subscriber, #30627)Parent article: Suspending and resuming BPF programs
This makes no sense to me. What is the value of "guaranteed forward progress" if in practice that progress can be made arbitrarily slow? You can't tell someone whose system has locked up that it's not a bug because their system will unfreeze in an hour.
It seems necessary and sufficient to have some kind of counter/timer that can reliably kill BPF programs that run too long, in a safe way that leaves the kernel in a good state. Once you have that, just give up on trying to verify termination.