From mboxrd@z Thu Jan 1 00:00:00 1970 From: mhz.dybf@gmail.com (mark zhu) Date: Sun, 08 Sep 2013 18:05:57 -0700 Subject: Using sendfile() between sockets Message-ID: <522D1EF5.8000407@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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