On Wed, Apr 25, 2001 at 08:06:01PM +1000, Andrew Eager wrote:
> Can a kernel module copy data from one user space to another user space ?
>
> ( I want to be able to send a essage from one task to the other with only one memory
>copy.
> ie copy directly from Task A's memory space to Task B's memory space.)
you can use shared memory segments for this (zero copy): shmget(2) etc. You
shouldn't need a kernel module for just this.
> I can live with the client tasks allocating their send/receive memory on a
>non-swappable basis (can't remember how but I know it can be done in user-space).
yep, use mlock(2)
Conrad.
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug