prequeue和backlog和receive
5.6 TCP prequeue
http://blog.csdn.net/u011130578/article/details/44814201
tcp_recvmsg 函数详解
http://blog.csdn.net/mrpre/article/details/33347221
Implementation of Transmission Control Protocol in Linux
https://blog.csdn.net/lmjjw/article/details/9992253
linux 内核tcp接收数据的实现
https://people.cs.clemson.edu/~westall/853/notes/
内核中的TCP的追踪分析-20-TCP(IPV4)的服务器端数据的接收-续
http://bbs.chinaunix.net/thread-4114007-3-1.html
http://blog.chinaunix.net/uid-7960587-id-2035574.html
http://linux-kernel.2935.n7.nabble.com/TCP-prequeue-performance-td13885.html
ftp://ftp.ee.lbl.gov/email/vanj.93sep07.txt
内核中的TCP的追踪分析-20-TCP(IPV4)的服务器端数据的接收-续
http://linux.chinaunix.net/techdoc/net/2008/11/29/1048972.shtml
https://people.cs.clemson.edu/~westall/853/notes/tcprecv.pdf
http://ai2-s2-pdfs.s3.amazonaws.com/0bcc/68abbf04f946df4ab630e298289dc640c085.pdf
http://lkml.iu.edu/hypermail/linux/kernel/0506.1/2007.html
http://www.linuxvox.com/2009/11/what-is-the-linux-kernel-parameter-tcp_low_latency/
tcp三个接收队列
http://abcdxyzk.github.io/blog/2015/05/11/kernel-net-tcp_queue/
http://blog.csdn.net/scdxmoe/article/details/8175076
http://linux.chinaunix.net/techdoc/net/2008/11/29/1048972.shtml
sk->sk_backlog_rcv = sk->sk_prot->backlog_rcv;
也就是通过sk_prot这个钩子结构转挂入的,那么我再回忆一下
http://blog.chinaunix.net/u2/64681/showart.php?id=1360583
那章节中是设置sk_prot的钩入的是tcp_prot结构,我们上一节也提到过个结构变量,我们看其相关部分
struct proto tcp_prot = {
。。。。。。
.backlog_rcv = tcp_v4_do_rcv,
。。。。。。
}
至于tcp_v4_do_rcv ()函数我们在
http://blog.chinaunix.net/u2/64681/showart.php?id=1656780
http://blog.csdn.net/scdxmoe/article/details/8175076
http://abcdxyzk.github.io/blog/2015/05/11/kernel-net-tcp_queue/
http://blog.chinaunix.net/uid-30186870-id-5116625.html
http://blog.csdn.net/dog250/article/details/5464513
http://lxr.free-electrons.com/source/include/net/sock.h#L888
http://linux.chinaunix.net/techdoc/net/2008/03/29/987849.shtml