Commit b8113d86 authored by Tanu Kaskinen's avatar Tanu Kaskinen

daemon-conf: enable memfd by default

memfd support was introduced in 9.0, but disabled by default. No issues
have been reported - now is a good time to enable it by default.
parent c73bbee8
......@@ -196,7 +196,7 @@ License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
<option>
<p><opt>enable-memfd=</opt>. Enable memfd shared memory. Takes
a boolean argument, defaults to <opt>no</opt>.</p>
a boolean argument, defaults to <opt>yes</opt>.</p>
</option>
<option>
......
......@@ -92,7 +92,7 @@ static const pa_daemon_conf default_conf = {
#endif
.no_cpu_limit = true,
.disable_shm = false,
.disable_memfd = true,
.disable_memfd = false,
.lock_memory = false,
.deferred_volume = true,
.default_n_fragments = 4,
......
......@@ -28,6 +28,7 @@ ifelse(@HAVE_DBUS@, 1, [dnl
; local-server-type = user
])dnl
; enable-shm = yes
; enable-memfd = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment