vmsplice returned "bad address"
Teoh Choon Zone
choon-zone.teoh at vie.com.my
Thu Aug 18 12:19:47 EDT 2016
I have a driver which will dma_alloc a CMA region and return the address to
my user space program, the program then will mmap /dev/mem according to the
address offset. I was trying to vmsplice and splice it into my socket
buffer, but the vmsplice always return "bad address". Anybody knows why? I
attach my user space code for your perusal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160819/4d2d3bde/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vmsplice_server.c
Type: text/x-csrc
Size: 2390 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160819/4d2d3bde/attachment.bin
More information about the Kernelnewbies
mailing list