• Hiland-Jrgensen: The inner workings of TCP zero-copy

    From LWN.net@1337:1/100 to All on Mon Mar 2 20:15:07 2026
    Hiland-Jrgensen: The inner workings of TCP zero-copy

    Date:
    Mon, 02 Mar 2026 20:12:58 +0000

    Description:
    Toke Hiland-Jrgensen has posted an
    overview of how zero-copy networking works in the Linux kernel. Since the memory is being copied directly from userspace to the
    network device, the userspace application has to keep it around
    unmodified, until it has finished sending. The sendmsg() syscall itself is asynchronous, and will return without waiting for
    this. Instead, once the memory buffers are no longer needed by the
    stack, the kernel will return a notification to userspace that the
    buffers can be reused.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/1060953/


    --- Mystic BBS v1.12 A49 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)