Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick

splice() / wire() / tee() ... whatever

Linus silently submitted a patch into the 2.6 series recently to redo how pipes are implemented, with the later-stated long term goal of being able to splice and tee file descriptors together in the kernel.

More details:

But it's turning out to not be too long term -- he recently showed some inital code to implement some of it.

I'm excited because it means Perlbal will have to do a LOT less copying. It's like sendfile, except you're able to wire ("splice") arbitrary fds together, regardless of whether they're page-backed or socket-backed. (which is why we can't use sendfile() from one socket to another socket, which is what Perlbal wants to do....)

  • Ukraine

    Nobody reads my LiveJournal anymore, but thank you to everybody in Russia protesting Putin's insane war against Ukraine. (I know it's risky…

  • Happy Birthday!

    Happy 20th Birthday, LiveJournal! 🐐🎂🎉

  • hi

    Posting from the iPhone app. Maybe I'm unblocked now.

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.