I thought we had agreed that the userspace representation of a kernel buffer was a pipe? As used in tee and splice etc. It would be nice to keep this consistent.
Posted Aug 18, 2011 14:04 UTC (Thu) by cladisch (✭ supporter ✭, #50193)
[Link]
Pipes represent byte streams. A plain memory block is better if you want to do random accesses, i.e., if it contains a ring buffer or packets that are reused.
Sharing buffers between devices
Posted Aug 18, 2011 14:11 UTC (Thu) by justincormack (subscriber, #70439)
[Link]
No, pipes are supposed to be a general kernel memory (ring) buffer in effect now, which as it happens you can implement a Unix pipe on top of: https://lwn.net/Articles/119682/
Sharing buffers between devices
Posted Aug 18, 2011 19:24 UTC (Thu) by robclark (subscriber, #74945)
[Link]