Sorry, I do not understand that.
If I use sendfile with nonblocking writes, there is no gain compared to
using read+write except that I don't need a buffer.
I would see the value of sendfile if I could just use sendfile and then
select on writing and it would only return when all the bytes have been
transferred. Now, _that_ would be great ;)
The reason to use sendfile would be to save the context switches, so I
don't want my select to return all the time, right?
Felix
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/