随笔分类 -  Linux_Kernel

<>学习笔记!
摘要:This chapter introduces some conception about kernel synchronization generally.Critical Regions: Code paths that access and manipulate shared data.R... 阅读全文
posted @ 2016-01-20 17:12 燃烧少年的心 阅读(188) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2015-12-23 23:21 燃烧少年的心 阅读(412) 评论(0) 推荐(0)
摘要: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 ... 阅读全文
posted @ 2015-12-21 15:12 燃烧少年的心 阅读(269) 评论(0) 推荐(0)
摘要:这一章我们研究四种主要的数据结构: linked lists, queues, maps, binary trees.Linked Lists:() 在linux中,并不是直接将某个结构体作为链表的节点,而是在该结构中插入一个链表的节点。借助container_of()这个宏,我们可以轻松的找... 阅读全文
posted @ 2015-12-20 23:41 燃烧少年的心 阅读(294) 评论(0) 推荐(0)
摘要:在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 ... 阅读全文
posted @ 2015-12-20 14:12 燃烧少年的心 阅读(299) 评论(0) 推荐(0)