>Is there any restriction that copy_from_user and copy_to_user can copy only upto page 4k(page size) of user >data? If I need to pass more than 4K, should I check for making multiple calls from within the driver? If your buffer cross the page boundary, then copy_to/from_user might sleep if next target page is not in memory i.e. present in swap space. Its shouldn't be a problem. Regards, Anil. - Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/