Re: Exporting kernel memory to application

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Aug 07 2001 - 18:31:20 EST


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



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:49 EST