All of lore.kernel.org
 help / color / mirror / Atom feed
From: mhz.dybf@gmail.com (mark zhu)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Using sendfile() between sockets
Date: Sun, 08 Sep 2013 18:05:57 -0700	[thread overview]
Message-ID: <522D1EF5.8000407@gmail.com> (raw)

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

             reply	other threads:[~2013-09-09  1:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-09  1:05 mark zhu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-09-09  1:14 Using sendfile() between sockets mark zhu
2013-09-08 21:16 mark zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=522D1EF5.8000407@gmail.com \
    --to=mhz.dybf@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.