Aug. 19, 2014
5:09 p.m.
On Tue, 19 Aug 2014 17:54:14 +0800, lxgeek said:
I want to mmap a kernel memory area which sk_buf->data pointer into userspace. I want to do this , because this way can reduce a copy from kernel to userspace. How to fix it? Or, which book or project can help me ?
Look at how other drivers do zero-copy. Hint: mmap is probably not the best way to approach it, because that would require userspace to do something different to use it.