On Mon, 2004-10-11 at 14:43, Jan Hudec wrote: > On Mon, Oct 11, 2004 at 14:34:50 +0530, Mandeep Sandhu wrote: > > won't a page fault be generated in case the page u r trying to > > copy to is not in the mem???????? > > In kernel mode, page faults must be handled manualy. The trap just gives > an oops if it happens in kernel mode. > right, then we can't simply use memcpy to copy data to user-space x86 or not? > ------------------------------------------------------------------------------- > Jan 'Bulb' Hudec <bulb@xxxxxx> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/