Re: share memory between kernel and user space

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue May 29 2001 - 15:06:57 EST


> Is there any way to share a piece of memory which is allocated in kernel
> space with a user space program? (don't use copy_to_user etc.)

mmap.

Take a look at drivers/sound where a lot of drivers do this
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:41 EST