~/talk

Userspace in Zephyr: Overview and Practicality

links:none on file
slides:none on file

Zephyr exposes a userspace that enforces access by memory domains and memory partitions, requires explicit grants for each kernel object, and implements syscall marshalling and verification that copies and checks user buffers before executing kernel code. Expect extra RAM for page tables and a privileged stack, higher context-switch and syscall latency, and pesky alignment waste. Unauthorized access provokes a page-fault kills thread flow. Hardware choice matters: MPU vs MMU tradeoffs determine region counts, alignment granularity, and how isolation is enforced.

AI-written summary · about

  1. 0:00User space in Zephyr
  2. 1:44Kernel vs user mode
  3. 3:53Sharing data between threads
  4. 7:12System calls from user space
  5. 10:05Performance cost of syscalls
  6. 15:08Why and why not use user space
  7. 21:23Q&A: Real-world cases
  8. 23:13Q&A: Verification and safety
  9. 25:47Q&A: MMU vs MPU
  10. 28:01Q&A: API transparency
  11. 31:10Q&A: Access violations
  12. 33:19Q&A: Custom drivers
  13. 34:04Q&A: User space vs TEE
  14. 34:47Q&A: Future of interactive users
  15. 36:59Q&A: Limitations
  16. 38:04Q&A: Build overhead
  17. 40:15Closing
~/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.