[$] Exceptions in BPF

Post Syndicated from original https://lwn.net/Articles/938435/

The BPF virtual machine in the kernel has been steadily gaining new
features for years, many of which add capabilities that C programmers do
not ordinarily have. So, from one point of view, it was only a matter of
time before BPF gained support for exceptions. As it turns out, though,
this “exceptions” feature is aimed at a specific use case, and its use in
most programs will be truly exceptional.