Kdbus meets linux-kernel
Kdbus meets linux-kernel
Posted Nov 5, 2014 14:41 UTC (Wed) by dvdhrm (subscriber, #85474)In reply to: Kdbus meets linux-kernel by cesarb
Parent article: Kdbus meets linux-kernel
> So, it's the sender's decision whether to zero-copy, instead of the kernel's?
The sender needs to provide data in a way suitable for zero-copy. For kdbus, this means it has to be in a memfd. Whether the kernel passes this data around via the fd, or whether it inlines it into the receiver's buffer, is *not* controlled by the sender. So far, kdbus always passes data the same way it received it, though.
