Driver porting: Zero-copy user-space access
Posted Jul 20, 2007 12:43 UTC (Fri) by bartjes
Parent article: Driver porting: Zero-copy user-space access
As I am quite new with Linux, searching the entire morning to find a solution for getting data out of my driver to a user application as efficient as possible, I stumble accross deprecanted mechanisms, function prototypes, and sometimes even a bit of explanation.
All this looks very complex to me and I REALLY could use a basic example where a piece of shared memory is allocated, freed, passed from driver to user-spacve or vice versa, and how the driver fills information into the structure and how the user process can read this.
It's sad that while searching all morning, an example is nowhere to be found, or it's way too complicated to understand, does compile with my terminal full of errors.....
Any suggestion would be helpful, Thanks, Bart
to post comments)