Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]]

kuznet@ms2.inr.ac.ru
Sat, 20 Jan 2001 23:22:14 +0300 (MSK)


Hello!

> > write(100000*MSS)
> > write(1)
> > write(1)
...
> As far as I can tell, the second "write(1)" will always merge with the
> first one

This would be true, if Andrea wrote not exactly 100000*MSS,
but 100000*MSS+1 or just write(<lots of data>).

In some exceptional situations (sort of writing exactly N*MSS,
then remnant, then something) Minshall's and bsd coalescing
are a bit different.

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