From: Hannes Frederic Sowa <han...@stressinduktion.org> Date: Tue, 24 Nov 2015 12:25:39 +0100
> Hello, > > David Miller <da...@davemloft.net> writes: > >> From: Tom Herbert <t...@herbertland.com> >> Date: Mon, 23 Nov 2015 09:33:44 -0800 >> >>> The TCP PSH flag is not defined for message delineation (neither is >>> urgent pointer). We can't change that (many people have tried to add >>> message semantics to TCP protocol but have always failed miserably). >> >> Agreed. >> >> My only gripe with kcm right now is a lack of a native sendpage. >> We should be able to zero copy data through KCM streams without >> any problems whatsoever. > > I understood from Tom's last mail that the messages are being > constructed *in kernel memory* before sending out of the tcp > socket. What advantage gives sendpage? The message construction must > actually happen before to fill in the necessary headers for the length, > so receiver can dissect again. Streaming semantics don't really fit > here? You can sendpage part of a filesystem file, and push the headers in front (the "KCM stuff") without disturbing the page frags. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html