Mmap & Zero copy is the other way to handle this.
BR/Krish
On Mon, May 22, 2017 at 10:13 AM, jitendra kumar khasdev <jkhasdev@xxxxxxxxx> wrote:
Hi All,I am exploring the mechanism for sharing data between kernel and user space. There are following mechanism I have found
- copy_to_user/copy_from_user
- Netlink sock
- /proc, /debugfs etc.
Other than this, Is there any efficient way of which I could read/write linked-list that I have created from my kernel module.---Jitendra
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/ kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies