Messages in this thread |  | | Date | Tue, 9 Jan 2001 15:11:34 -0800 (PST) | From | Dan Hollis <> | Subject | Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1 |
| |
On Tue, 9 Jan 2001, Ingo Molnar wrote: > On Tue, 9 Jan 2001, Dan Hollis wrote: > > > This is not what senfile() does, it sends (to a network socket) a > > > file (from the page cache), nothing more. > > Ok in any case, it would be nice to have a generic sendfile() which works > > on any fd's - socket or otherwise. > it's a bad name in that case. We dont 'send any file' if we in fact are > receiving a data stream from a socket and writing it into a file :-)
So we should have different system calls just so one can handle socket and one can handle disk fd? :P
Ok so now will have special case sendfile() for each different kind of fd's.
To connect socket-socket we can call it electrician() and to connect pipe-pipe we can call it plumber() [1].
:P :b :P :b
-Dan
[1] Yes, Alex Belits, I know i've now stolen your joke...
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |