LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2009, 05:36 AM   #1
akshaynm87
LQ Newbie
 
Registered: Apr 2009
Location: Bengaluru
Distribution: Ubuntu 8.10
Posts: 10

Rep: Reputation: 0
Accessing User mode buffer in Kernel module


Hi
I am writing a device driver that provides an ioctl interface and read and write operations on its device node. I have a user mode application which talks to the driver through read, write or ioctl interface.
I would need to pass huge amounts of data from the application to the driver and vice versa. Hence, using copy_to_user() and copy_from_user() in the driver is not an exciting option for me since it slows down the execution as well as occupies more memory.
Is there any way i can use the buffer allocated by the application to read/ write data from/to without copying?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use the buffer of user mode in kernel mode liqiuhua123 Programming 2 02-05-2009 09:54 PM
[Kernel Module] Accessing the serial port Moepi Programming 1 09-23-2007 03:51 PM
Accessing a kernel buffer from user space jan_capri Linux - Kernel 2 05-21-2007 11:44 PM
Accessing page 0 from a kernel module mjfeeney Linux - General 1 08-04-2006 12:02 AM
Compiling a Kernel Module for User Mode Linux Last Attacker Programming 1 04-13-2006 06:26 AM


All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration