~/talk

Android Ashmem to Memfd

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13
links:none on file
slides:none on file

Android replaces the legacy ashmem driver (removed from staging in kernel 5.18) by switching allocations to memfd_create via an ashared interface, temporarily emulating ashmem ioctls on memfds for apps built against older SDKs, and upstreaming memfd class SELinux support so memfds carry allocator-specific security contexts. Migration confines memfd allocation to launching devices and newer-targeted apps until vendors and apps update, then ashmem allocations are disallowed and the driver can be removed.

AI-written summary · about

  1. 0:00Introduction to Ashmem and Memfd
  2. 1:01Ashmem history and Memfd benefits
  3. 3:51Migration challenges and solutions
  4. 11:01Deprecation plan for Ashmem
  5. 12:28Q&A discussion
~/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.