On Sat, Dec 22, 2012 at 7:22 PM, Pablo Pessolani <ppessolani@xxxxxxxxxxx> wrote: > Hi Mulyadi: > I have developed Minix3 IPC primitives under Linux. One of it > (sys_vcopy) allows to copy bytes from one process' user space to other > process' user space. > Those IPCs use spinlocks to synchronize and get_user_pages() to copy > bytes and/or pages from one process' address space to the other. All it > works fine and with acceptable performance. Now, I want to improve > performance using RCU and the "fast" version of get_user_pages(). hmmm....check process_vm_rw_pages() at http://lxr.linux.no/#linux+v3.7.1/mm/process_vm_access.c#L42 maybe that's what you need.... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies