We should forget about small efficiencies — Donald Knuth
28 Sep
Zero copy between ISR, kernel and User, from LKML.
Q:
I would like to allow the transferring of data between ISR’s, kernel and user code, without requiring copying.
I envision allocating buffers in the kernel and then mapping them so that they appear at the same addresses to all code, and never being swapped out of memory.
Is this feasible for all supported Linux architectures and is there existing code that someone could point me towards?
A:
Your better off having application mmap a device, then transfer the data to there. Something like AF_PACKET.
Popularity: 28% [?]
Leave a reply