Mechnism for sharing data between kernel and user space

Er Krishna erkrishna at gmail.com
Mon May 22 00:57:58 EDT 2017


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 at gmail.com
> wrote:

> Hi All,
>
> I am exploring the mechanism for sharing data between kernel and user
> space. There are following mechanism I have found
>
>    1. copy_to_user/copy_from_user
>    2. Netlink sock
>    3. /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 at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170522/db266787/attachment.html 


More information about the Kernelnewbies mailing list