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

> The read(2)/write(2) solution from userspace would involve no copying as well, assuming a competent kernel implementation.

Even though you've got many others chiming in as to why this might not be so, I'll add my own: A userspace program can modify a buffer after data is read in, then write the modified version out -- this implies a local copy or, at the very least, the semantics of a local copy.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: