User: Password:
|
|
Subscribe / Log in / New account

Sharing buffers between devices

Sharing buffers between devices

Posted Aug 18, 2011 14:04 UTC (Thu) by cladisch (✭ supporter ✭, #50193)
In reply to: Sharing buffers between devices by justincormack
Parent article: Sharing buffers between devices

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.


(Log in to post comments)

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/


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds