Followup to: <E16Chyk-0000zH-00@starship.berlin>
By author: Daniel Phillips <phillips@bonn-fries.net>
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.
-hpa
-- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com> - 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 : Sat Dec 15 2001 - 21:00:13 EST