Re: Block driver design issue

From: Manfred Spraul (
Date: Mon Feb 12 2001 - 12:30:58 EST

LA Walsh wrote:
> I find this duplication of code to be inefficient. Is there a way to dummy up the
> the 'buf' address so that the "copy_from_user" will copy the buffer from kernel space?
> My assumption is that it wouldn't "just work" (which may also be an invalid assumption).
> Suggestions? Abuse?


After that call copy_from_user() will accept kernel space addresses.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:19 EST