The Linux "copy problem"
The Linux "copy problem"
Posted May 30, 2019 14:00 UTC (Thu) by desbma (guest, #118820)In reply to: The Linux "copy problem" by ecree
Parent article: The Linux "copy problem"
> I haven't actually tried this, but in theory it should enable the kernel to do a zero-copy copy where the underlying files support that.
This is exactly what sendfile does, with a single system call, instead of 3 for your example.
