Kdbus meets linux-kernel
Kdbus meets linux-kernel
Posted Nov 5, 2014 2:01 UTC (Wed) by riking (subscriber, #95706)Parent article: Kdbus meets linux-kernel
> Messages can pass file descriptors between processes; the passing of sealed files and memfds is also supported.
> ...
> Kdbus is intended to be fast with both large and small messages. For the largest of messages, zero-copy transfer between processes is supported. Experience has shown, though, that a message must be about 512KB or larger before page-mapping tricks become cheaper than just copying the data.
> ...
> Kdbus is intended to be fast with both large and small messages. For the largest of messages, zero-copy transfer between processes is supported. Experience has shown, though, that a message must be about 512KB or larger before page-mapping tricks become cheaper than just copying the data.
To clarify, the zero-copy mechanism *is* sealed memfd file descriptor passing.
