kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Using sendfile() between sockets
@ 2013-09-09  1:05 mark zhu
  0 siblings, 0 replies; 2+ messages in thread
From: mark zhu @ 2013-09-09  1:05 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Using sendfile() between sockets
@ 2013-09-09  1:14 mark zhu
  0 siblings, 0 replies; 2+ messages in thread
From: mark zhu @ 2013-09-09  1:14 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-09  1:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-09  1:05 Using sendfile() between sockets mark zhu
  -- strict thread matches above, loose matches on Subject: below --
2013-09-09  1:14 mark zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).