Results 1 to 2 of 2
We're using sock_sendmsg() to send from an embedded kernel module.
Throughput is a big concern.
Does sock_sendmsg() only return AFTER transmitting the data?
Or, does it copy the data to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-09-2010 #1Just Joined!
- Join Date
- Jan 2010
- Location
- The Sillicon Valley, California
- Posts
- 28
Does sock_sendmsg() buffer or block?
We're using sock_sendmsg() to send from an embedded kernel module.
Throughput is a big concern.
Does sock_sendmsg() only return AFTER transmitting the data?
Or, does it copy the data to a buffer, and return immediately (PREFERRED!!) ?
- 02-09-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,233
See this page, and follow the "Next in thread" link for more info.
Linux-Kernel Archive: Suspected sock_sendmsg() with MSG_DONTWAIT can block bug.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
