- 博客(5)
- 资源 (12)
- 收藏
- 关注
转载 Linux网络编程——端口复用(多个套接字绑定同一个端口)
http://blog.csdn.net/tennysonsky/article/details/44062173在《绑定( bind )端口需要注意的问题》提到:一个网络应用程序只能绑定一个端口( 一个套接字只能绑定一个端口 )。实际上,默认的情况下,如果一个网络应用程序的一个套接字 绑定了一个端口( 占用了 8000 ),这时候,别的套接字就无法使用
2017-03-13 18:58:00 8980 4
转载 《深入理解Linux内核》软中断/tasklet/工作队列
http://www.cnblogs.com/li-hao/archive/2012/01/12/2321084.html软中断、tasklet和工作队列并不是Linux内核中一直存在的机制,而是由更早版本的内核中的“下半部”(bottom half)演变而来。下半部的机制实际上包括五种,但2.6版本的内核中,下半部和任务队列的函数都消失了,只剩下了前三者。本文重点在于介绍这三者之
2017-03-08 16:25:41 703
转载 两种以太网 RDMA 协议: iWARP 和 RoCE
http://weibo.com/p/1001603936363903889917?mod=zwenzhang本文是讲演 How Ethernet RDMA Protocols iWARP and RoCE Support NVMe over Fabrics【1】的摘要。如果 NVMe 存储系统与主机是分离的,显然需要某种 fabric 把它们连接,这样主机才能使用
2017-03-08 16:10:09 18291
转载 Where Softirq Is Invoked
summarysoftirq 真正干活的函数是__do_softirq。 linuxv3.11内核里能够执行__do_softirq,有如下调用, 这里指真正执行softirq的地方,不是触发(设置)softirq标志 !!!每个硬中断退出的时。当bh使能的时。发送回环报文时。case1 每个硬中断退出的时候。call trace
2017-03-08 12:45:25 928
转载 REEMPT_ACTIVE标志在内核抢占中的作用
Linux从2.6开始支持内核抢占,意味着即使进程运行在内核态也可以被抢占。为了支持内核抢占,代码中为每个进程的 thread_info 引入了 preempt_count 计数器,数值为0的时候表示可以内核抢占,每当进程持有内核锁的时候把 preempt_count 计数器加1,表示禁止内核抢占。此外还有一些其它禁止内核抢占的场景,也通过 preempt_counter 字段反应出来:preem
2017-03-08 12:41:38 822
Understanding Linux Network Internals.chm
2009-05-11
KernelDevelopment
2008-12-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人