Re: Kernel hacking ? - Can this be done?

Steve Dodd (dirk@loth.demon.co.uk)
Fri, 30 Jul 1999 20:06:45 +0100


On Fri, Jul 30, 1999 at 08:31:44AM +0200, Arjan van de Ven wrote:

> SK> sys_read calls the the filesystem's read function, which uses
> SK> copy_to_user (since it assumes it is invoked from user space through
> SK> a system call).
>
> See the "set_fs" stuff in kHTTPd.

Does that mean you're doing a kernel space -> kernel space copy? Couldn't
you just nick the data straight from the page cache?

-- 
I do not find in orthodox Christianity one redeeming feature.
	 - Thomas Jefferson

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/