What if the kernel itself handles copying from disk to network directly? This would significantly save 2 buffers and the 2 un-necessary context switches between kernel space and user-space.
The concept of copying data from one peripheral to another peripheral by kernel, without switching back to user-process is termed as zero copy.
Learn at this article with code examples.
Audio and content by Vishwajith K
Podchaser is the ultimate destination for podcast data, search, and discovery. Learn More