[PATCH 0/2] Deploy memfd support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Now that most of the memfd series is merged except the last two
patches, this is a submission of the last two commits modified to
make memfds an opt-in feature instead of being enabled by default.

To test memfds support, just add enable-memfd=yes to the daemon's
configuration file ~/.config/pulse/daemon.conf


==> changelog from memfd v3:

- just a one-liner difference

diff --git a/src/daemon/daemon-conf.c b/src/daemon/daemon-conf.c
index d859c77..965a5c8 100644
--- a/src/daemon/daemon-conf.c
+++ b/src/daemon/daemon-conf.c
@@ -92,6 +92,7 @@ static const pa_daemon_conf default_conf = {
 #endif
     .no_cpu_limit = true,
     .disable_shm = false,
+    .disable_memfd = true,
     .lock_memory = false,
     .deferred_volume = true,
     .default_n_fragments = 4,

- .. and a more verbose documentation in the PROTOCOL file


==> earlier submissions (full 11 patches):

- v3 submission
  http://article.gmane.org/gmane.comp.audio.pulseaudio.general/25410

- v2 submission
  http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/25131

- v1 submission
  http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/24110


==> diffstat:

Ahmed S. Darwish (2):
  client audio: Support memfd transport
  core: Support memfd transport; bump protocol version

 PROTOCOL                         | 37 +++++++++++++++++++++
 configure.ac                     |  2 +-
 man/pulse-client.conf.5.xml.in   |  8 +++++
 man/pulse-daemon.conf.5.xml.in   |  7 +++-
 man/pulseaudio.1.xml.in          | 15 +++++++--
 shell-completion/bash/pulseaudio |  4 +--
 shell-completion/zsh/_pulseaudio |  1 +
 src/daemon/cmdline.c             | 13 +++++++-
 src/daemon/daemon-conf.c         |  2 ++
 src/daemon/daemon-conf.h         |  1 +
 src/daemon/main.c                |  4 ++-
 src/pulse/client-conf.c          |  1 +
 src/pulse/client-conf.h          |  2 +-
 src/pulse/context.c              | 44 ++++++++++++++++++++++---
 src/pulse/internal.h             |  3 ++
 src/pulsecore/core.c             |  9 +++--
 src/pulsecore/core.h             |  2 +-
 src/pulsecore/mem.h              |  9 +++++
 src/pulsecore/protocol-native.c  | 71 ++++++++++++++++++++++++++++++++++------
 19 files changed, 207 insertions(+), 28 deletions(-)

-- 
http://darwish.chasingpointers.com


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux