Nov 13 – 15, 2018
America/Vancouver timezone

How to Get Ashmem Out of Staging

Nov 14, 2018, 4:15 PM
15m
Pavillion/Ballroom-D (Sheraton Vancouver Wall Center)

Pavillion/Ballroom-D

Sheraton Vancouver Wall Center

77

Speaker

Joel Fernandes (Google)

Description

Android uses ashmem for sharing memory regions. We are trying to migrate all usecases of ashmem to memfd so that we can possibly remove the ashmem driver in the future from staging while also benefiting from using memfd for shared memory in Android, and contributing to improving memfd upstream. Note staging drivers are also not ABI and generally can be removed at anytime. This talk is about the current open challenges with this, patches that are recently sent to LKML, technical difficulties, userspace requirements, etc. One of the big difficulties with having a "pinning" interface. John Stultz has proposed vrange syscall before. It would be good to some consensus on the direction that we should go in this regard.

Primary author

Joel Fernandes (Google)

Presentation materials

Platinum sponsors

Gold sponsors

Silver sponsors

Catchbox sponsor
T-Shirt sponsor