PulseAudio Adds Memfd Transport Support
Written by Michael Larabel in Linux Kernel on 27 April 2016 at 02:59 PM EDT. 70 Comments
PulseAudio gained support for utilizing the Linux kernel's memfd as a transport mechanism as spearheaded by the systemd/KDBUS crew.

PulseAudio now supports using memfd for shared-memory support when the daemon's enable-memfd=yes configuration option is present. Memfd is used in place of POSIX SHM for shared memory. The Memfd support is described by the PulseAudio developers as "to share pages between processes in an anonymous, no global registry needed, no mount-point required, relatively secure, manner."

Implementing Memfd support in the PulseAudio audio server is a stepping stone towards allowing better integration with per-app containers, such as sandboxed applications via XDG-App.

The code landed in PulseAudio earlier today for memfd transport. Memfd has been around for a while and mainlined since Linux 3.17.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week