Hacker News new | past | comments | ask | show | jobs | submit login

The pipe intermediary doesn't necessarily add a copy. You SPLICE_F_MOVE the data from the first fd to the pipe, then SPLICE_F_MOVE it from the pipe to the second fd. If either or both of those can be done zero-copy, they will be. The pipe intermediary is just a way of holding onto the reference-counted pages.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: