Re: Is sendfile all that sexy?

Kai Henningsen (kaih@khms.westfalen.de)
18 Jan 2001 20:46:00 +0200


torvalds@transmeta.com (Linus Torvalds) wrote on 18.01.01 in <Pine.LNX.4.10.10101180822020.18072-100000@penguin.transmeta.com>:

> if your "normal" usage pattern really is to just move the data without
> even looking at it, then you have to ask yourself whether you're doing
> something worthwhile in the first place.

Web server. FTP server. Network file server. cp. mv. cat. dd.

In short, vfs->net (what sendfile already does) and vfs->vfs are probably
the most interesting applications, with net->vfs as a possible third.
Classical bulk data copy applications.

All the other stuff I can think of really does want to look at the data,
and we can already handle virtual memory just fine with read/write/mmap.

MfG Kai
-
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/