lkml.org 
[lkml]   [2000]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectTransferring data between user and kernel space...
Date
Hi all,

I would like to transfer a huge buffer (say 128k) from user space to kernel
space and return the result in the same buffer so that the user can access
the processed data from that... since these pages passed from the user spcae
may be fragmented how do i make them contiguous from user space.. and what
functions should i use to copy data from this user space buffer to kernel...
will copy_from_user do this job.. and for retuning it should i use
copy_to_user....

i would like to avoid copying the same data to and fro from user space is
there any other method to do this... could someone send detailed info about
this.... samples /links will be really helpful.... any help appreciated...

thanks
azad
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.044 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site