RE: transfering pages from user space to user space

2012-12-06 Thread Pablo Pessolani
ffset, 110target_kaddr, bytes_to_copy); The code I wrote (very similar to this) also copies page contents. But my interest is transfering pages (zero-copy). Regards. PAP > Subject: Re: transfering pages from user space to user space > From: ydrone...@opteya.c

RE: transfering pages from user space to user space

2012-12-06 Thread Pablo Pessolani
Hi: > This sounds a lot like "Cross Memory Support" (eg CROSS_MEMORY_ATTACH > option) introduced in Linux 3.2: > > http://kernelnewbies.org/Linux_3.2#head-a5e26c6275e85a5c9c41873fbab96bd38d934b72 > > Cross Memory Support add two syscalls: > - process_vm_readv() : read from a process memory >

Re: transfering pages from user space to user space

2012-12-06 Thread Yann Droneaud
Hi, Le mercredi 05 décembre 2012 à 22:47 -0300, Pablo Pessolani a écrit : > Hi: > I am working on a project to copy (page aligned) the > buffer content of one process to the buffer of other process. > > Now I resolved this issue using copy_page() but, analizing > performance with diff

transfering pages from user space to user space

2012-12-05 Thread Pablo Pessolani
Hi: I am working on a project to copy (page aligned) the buffer content of one process to the buffer of other process. Now I resolved this issue using copy_page() but, analizing performance with different buffer sizes, the "copy_page" becames the critical time component and limi