Re: share memory between kernel and user space

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 29 May 2001 21:06:57 +0100 (BST)


> 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/