~/talk

Exceptions in BPF

slides:none on file

Adds a new runtime primitive where BPF throw aborts execution and invokes a global exception callback with a cookie to choose the return value; the loader runs a preverification pass to mark functions that can reach throw and emit frame descriptors so the runtime can unwind each frame and call helpers (BPF_sk_release, BPF_object_drop). Uses include assertions, cancelable programs that let long or unprovable loops be interrupted, and building user‑managed heaps and spinlocks with cancellation for deadlock recovery; memory writes still need runtime bounds checks.

AI-written summary · about

  1. 0:00Introduction to speaker
  2. 0:20What are BPF exceptions
  3. 3:54Resource cleanup on exceptions
  4. 7:07Pre-verification pass for throw calls
  5. 8:34Catching exceptions mid-execution
  6. 10:44Exceptions beyond assertions
  7. 11:24Cancelling BPF programs
  8. 12:25Use cases for cancellation
  9. 16:17Verifier complexity with maps
  10. 17:21Building data structures safely
  11. 19:51Future of BPF verification
  12. 20:18Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.