Re: Exporting kernel memory to application

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 8 Aug 2001 00:31:20 +0100 (BST)


> I am in a situation where it is required to export a kernel memory
> (allocated by kmalloc in the device driver) to the user application. I would
> really appreciate any guidance or suggestion.

Look at the sound drivers, they do this, although with memory allocated
by get_free_pages() - the rest of the theory is the same
-
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/