~/talk

Exporting Virtual Memory as dmabuf

links:none on file
slides:none on file

A kernel character driver called vm_m_export walks process page tables in software to convert any user virtual address into a scatter‑gather list of physical pages, pins those pages and returns a DMA-BUF FD via simple ioctls, enabling malloced, RTOS/“artists” or CMA buffers to be shared with Linux importers like DRM, Wayland and GStreamer. Implemented against 4.4, it works but currently does not trigger page faults automatically, so pinning, alignment, continuity and security checks remain important.

AI-written summary · about

  1. 0:00Introduction
  2. 0:35Presentation Outline
  3. 2:12Typical Use Case
  4. 4:40What is DMF
  5. 18:57Page table
  6. 25:05Buffers
  7. 32:23Generic Use Cases
  8. 34:47Memory Sharing
  9. 42:41Security Concerns
~/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.