transfering pages from user space to user space
Pablo Pessolani
ppessolani at hotmail.com
Thu Dec 6 07:27:56 EST 2012
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
> - process_vm_writev() : write to a process memory
>
> Details can be found here:
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=fcf634098c00dd9cd247447368495f0b79be12d1
>
> And documentation here:
>
> http://www.man7.org/linux/man-pages/man2/process_vm_readv.2.html
> http://ozlabs.org/~cyeoh/cma/process_vm_readv.txt
>
GREAT! I will study these documentation and source code.
> > [...] The kernel I use is 2.6.32.
> >
>
> BTW, why use a kernel released 3 years ago for such new development ?
> Kernel 2.6.32 was released the 3rd of december 2009. Even the -rt
> project switch to newer kernel (eg. no less than 3.0, and up to 3.4),
> see http://rt.wiki.kernel.org/
>
> You should at least switch to a current long term support kernels, for
> example Linux 3.4. See
> http://www.kroah.com/log/linux/stable-status-08-2012.html
Because I use the stable distribution of Debian and all the packages for kernel modules and kernel building are for these version as you can see:
Package kernel-image-2.6.32-5-486-di
squeeze (stable) (debian-installer): Linux kernel binary image for the Debian installer
1.99+squeeze8: i386
Thanks Yann Droneaud
PAP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121206/4b52dad3/attachment.html
More information about the Kernelnewbies
mailing list