mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
core: Support memfd transport; bump protocol version
Now that all layers in the stack support memfd blocks, add memfd support for the daemon's global core mempool. Also introduce "enable-memfd=" daemon argument and configuration option. For now, memfd support is an opt-in feature to be activated only when daemon's enable-memfd= is set to yes. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
This commit is contained in:
parent
b1d47d60fc
commit
d2a6afcab3
13 changed files with 122 additions and 24 deletions
|
|
@ -189,11 +189,16 @@ License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
<option>
|
||||
<p><opt>enable-shm=</opt> Enable data transfer via POSIX
|
||||
shared memory. Takes a boolean argument, defaults to
|
||||
or memfd shared memory. Takes a boolean argument, defaults to
|
||||
<opt>yes</opt>. The <opt>--disable-shm</opt> command line
|
||||
argument takes precedence.</p>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>enable-memfd=</opt>. Enable memfd shared memory. Takes
|
||||
a boolean argument, defaults to <opt>no</opt>.</p>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>shm-size-bytes=</opt> Sets the shared memory segment
|
||||
size for the daemon, in bytes. If left unspecified or is set to 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue