Re: Exporting kernel memory to application

Andreas Bombe (andreas@bombe.modem.informatik.tu-muenchen.de)
Thu, 9 Aug 2001 16:39:49 +0200


On Wed, Aug 08, 2001 at 03:48:50PM +0530, Nitin Dhingra wrote:
> You can do that by using kiobuf's ( only in kernel 2.4.x ).
> That way you could lock the user buffers in kernel but you
> would have to allocate user buffer prior to using any kiobuf's functions
> like map_user_kiobuf()

When someone asks how to lock user buffers into kernel space they are
suggested to allocate the buffers in kernel and map them to user space
which is much cleaner, safer and everything.

That guy got it right on the first attempt. Don't confuse him with
inferior solutions.

-- 
Andreas E. Bombe <andreas.bombe@munich.netsurf.de>    DSA key 0x04880A44
-
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/