Followup to: <E16Chyk-0000zHemail@example.com>
By author: Daniel Phillips <firstname.lastname@example.org>
In newsgroup: linux.dev.kernel
> There's some merit to this idea. As Peter pointed out, an in-kernel cp isn't
> needed: mmap+write does the job. The question is, how to avoid the
> copy_from_user and double caching of data?
One thing that one could do for an in-kernel copy is to extend
sendfile() to support any kind of file descriptor. That'd be a very
clean way to do it.
-- <email@example.com> at work, <firstname.lastname@example.org> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt <email@example.com> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.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 : Sat Dec 15 2001 - 21:00:13 EST