Re: Is sendfile all that sexy?

Pavel Machek (pavel@suse.cz)
Sat, 1 Jan 2000 02:10:33 +0000


Hi!
> > And no, I don't actually hink that sendfile() is all that hot. It was
> > _very_ easy to implement, and can be considered a 5-minute hack to give
> > a feature that fit very well in the MM architecture, and that the Apache
> > folks had already been using on other architectures.
>
> The current sendfile() has the limitation that it can't read data from
> a socket. Would it be another 5-minute hack to remove this limitation, so
> you could sendfile between sockets? Now _that_ would be sexy :)

I had patch to do that. (Unoptimized, of course)

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

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