~/talk

Lessons Learned When Updating Userspace ABIs

Talkat LinuxCon Europe 2022 · 2022-09-13..09-16· [api-design]
links:none on file
slides:none on file

SMBus block limit changes from 32 to 255 bytes and exposes a userspace ABI problem where a fixed union and ioctl numbers are UAPI stable so old userland vs new kernel can truncate or fail. Work includes writing an emulated target test unit, auditing ~200 kernel uses, and tracing libi2c behavior. Proposal is new ioctl opt-in plus kernel-wide larger internal buffers (suggest 256 to catch buggy devices). Measured benefit includes a surprising 1.6 W saved in one laptop case but full upstream work is ongoing.

AI-written summary · about

  1. 0:00Start
  2. 2:18Same for reading
  3. 11:50Another agreement between Kernel and userspace
  4. 13:00Handling the limit in bus drivers
  5. 18:49Proposal by Daniel Stodden, part 2
  6. 29:23Path forward
  7. 31:13Conclusion 3
  8. 33:20The End
~/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.