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

From: kuznet@ms2.inr.ac.ru
Date: Sat Jan 20 2001 - 15:22:14 EST


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/



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:22 EST