随笔分类 - Linux_Kernel
<>学习笔记!
摘要:This chapter introduces some conception about kernel synchronization generally.Critical Regions: Code paths that access and manipulate shared data.R...
阅读全文
摘要:In 2.6.x, there are 3 mechanisms for implementing a bottom half: softirqs, tasklets and work queues. Here's the comparison:Softirqs: Softirqs are s...
阅读全文
摘要:Recently I realized my English is still far from good. So in order to improve my English, I must not only read in English, but also think and write ...
阅读全文
摘要:这一章我们研究四种主要的数据结构: linked lists, queues, maps, binary trees.Linked Lists:() 在linux中,并不是直接将某个结构体作为链表的节点,而是在该结构中插入一个链表的节点。借助container_of()这个宏,我们可以轻松的找...
阅读全文
摘要:在Linux中,处理器所作的事可以归纳为3种情况:1、In user-space, executing user code in a process;2、In kernel-space, in process context, executing on behalf of a specific ...
阅读全文

浙公网安备 33010602011771号