lkml.org 
[lkml]   [2000]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectSharing memory between processes in kernel mode
Date
	Hi!

I want to share memory between two differents processes in kernel mode. The
goal is to copy the read buffer of a user process into the read buffer of
another user process. I know it's possible to do it by creating an
intermediate buffer in kernel mode and to use the 'copy_from_memory' and
'copy_to_user' functions for copying data from a process to other, but this
is a slow method. Can I do it in a different way? Are there functions for
turning user space pointers into kernel space pointers without copying data?

Thanks in advance,
Rubén.

-
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:47    [W:0.043 / U:2.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site