~/talk

BoF: Object Life-Time Handling in Driver Subsystems

links:none on file
slides:none on file

Device driver subsystems frequently crash when provider drivers free their per-driver memory while consumers still hold references; the concrete fix here is to have the subsystem allocate the reference-counted device while drivers allocate only an implementation blob, protect the implementation pointer with SRCU-protected implementation pointer, and coordinate unbind with SRCU synchronisation. This split responsibility approach lands in mainline for the GPIO subsystem and stops dangling-pointer crashes; alternatives discussed are handoff allocation and deep-copy config registration.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Driver resource handling problems
  3. 3:17Logical vs physical devices
  4. 4:24GPIO crash fix
  5. 5:31Provider-consumer approaches
  6. 9:26Critique of provider structures
  7. 12:46Read-only config structures
  8. 14:12Device tree overlays impact
  9. 15:01Device links limitations
  10. 17:31Unbind scenarios discussion
  11. 20:04GPIO interrupt handling
  12. 21:55NFC flawed solution
  13. 23:40Power sequencing solution
  14. 25:47Why SRCU for GPIO
  15. 27:12Device tree removal fixes
  16. 29:41Provider driver API changes
  17. 31:32Removable hardware use case
  18. 33:19Device tree overlays dynamic
  19. 35:06Unified provider-consumer framework
  20. 37:13Module unloading safety
  21. 39:00Final remarks & Q&A
~/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.