Using sendfile() between sockets

From: mark zhu
Date: Sun Sep 08 2013 - 17:17:31 EST


Hi there,

Two splice() system calls are needed for splicing 2 sockets.
It is costly with respect to context switching. What would be
the reason for_not_ letting sendfile() support socket-to-socket
splicing if the offset argument is ignored?

Thanks,
-Mark

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/