vmsplice bad address

Guillaume Dargaud dargaud at lpsc.in2p3.fr
Fri Mar 25 01:34:18 EST 2011


On Monday 07 March 2011 10:35:44 Benjamin Herrenschmidt wrote:

> I'm not completely surprised ... I wouldn't expect vmsplice to work
> on /dev/mem ... No struct page backing the memory for example.

So how would that work to do zero-copy ? 
Somebody gave me a hint of marking the memory regions as iomem, do a ioremap then mmap and vmsplice but that's a 
mouthful...
-- 
Guillaume Dargaud
http://www.gdargaud.net/


More information about the Linuxppc-dev mailing list