Re: Copy large memory regions from & to userspace

2007-08-31 Thread Jan Engelhardt
On Aug 31 2007 19:48, Robert Hancock wrote: > > I'm not aware of any code in the kernel that does userspace-to-userspace > copies directly. Likely because there's rarely a need for it? splice(), sort of. Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: Copy large memory regions from & to userspace

2007-08-31 Thread Robert Hancock
Clemens Kolbitsch wrote: On Friday 31 August 2007 15:25:40 you wrote: On 8/30/07, Clemens Kolbitsch <[EMAIL PROTECTED]> wrote: Hi! Just a short question: What is the correct method of copying large areas of memory from userspace into userspace when running in kernel-mode? relayfs? no... I'm

Re: Copy large memory regions from & to userspace

2007-08-31 Thread Clemens Kolbitsch
On Friday 31 August 2007 15:25:40 you wrote: > On 8/30/07, Clemens Kolbitsch <[EMAIL PROTECTED]> wrote: > > Hi! > > Just a short question: What is the correct method of copying large areas > > of memory from userspace into userspace when running in kernel-mode? > > relayfs? no... I'm copying user-

Copy large memory regions from & to userspace

2007-08-30 Thread Clemens Kolbitsch
Hi! Just a short question: What is the correct method of copying large areas of memory from userspace into userspace when running in kernel-mode? According to just about any type of documentation out there something like unsigned long *from = 0x0800; unsigned long *to = 0x0900; memcpy(to