On Mon, Oct 11, 2004 at 09:55:37 +0530, mohanlal jangir wrote: > I have a character device and some of its functions are being called by > ioctl. In a function, I do copy_to_user and copy_from_user to get the user > space data in kernel memory. My question is, if this function doesn't sleep, > can I avoid calls to copy_to_user and copy_from_user? No, you can't. The user-space memory is not directly addressable from kernel. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@xxxxxx>
Attachment:
signature.asc
Description: Digital signature