Chinaunix首页 | 论坛 | 博客
  • 博客访问: 401271
  • 博文数量: 48
  • 博客积分: 764
  • 博客等级: 上士
  • 技术积分: 1133
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-17 13:29
文章分类

全部博文(48)

文章存档

2014年(5)

2013年(34)

2012年(9)

发布时间:2012-12-23 16:49:23

结构 struct task_struct{open filespending signalsinternal kernel dataprocess statevolatile long stateprocess family treeparent children sibling group_leaderprocessor state,  CPU-specific state of this task struct thread_struct //这个结构,就是我找了良久,swith_to中存储task的kernel stack地址。不认真,足戒!pr......【阅读全文】

阅读(1713) | 评论(0) | 转发(0)

发布时间:2012-12-22 13:44:21

时间被我认为是认知的三大本源之一。结构HardwareSystem timer: PIT, TSC. System timer provide a mechanism for driving a interrupy ay a periodic rate.Real-time clock: the real time clock's primary importance is only during boot, when the xtime variable is initialized.SoftwareTick rate:HZ , USER_HZ,  Arm x86 100HZTick......【阅读全文】

阅读(1596) | 评论(0) | 转发(0)

发布时间:2012-12-19 23:28:54

The block I/O layer 是层次结构,read,write系统调用要穿过这些层,当然也可能在Page cache停下来,有可读的data或是write的数据被缓冲暂存延迟写了。每一曾都有一个主要角色,实际上VFS 和FS这两层建立read,write函数映射。而Page cache和Buffercache,对系统性能提升起到了很大的促进作用。结构VFSFS:Btrfs, Ext fsPage cache,Buffer cache, submit_bio结构首先这个cache和L1 L2这样的硬件cache不是一回儿事,说的只是RAM内存缓存!这一层主要的结构体是buffer_he......【阅读全文】

阅读(3148) | 评论(0) | 转发(0)

发布时间:2012-12-11 13:28:23

== Structure ==The make utility automatically determines which pieces of a large program need to be recompiled, and issues commands to recompile them.make 和Makefile的组合,实现了上述功能。两方面make的运行,以及Makefile的语法。== Understand ==-- make --GNU make does its work in two dist.........【阅读全文】

阅读(1756) | 评论(0) | 转发(0)

发布时间:2012-12-11 13:12:18

== Structure ==内核中内存管理,分为三个部分:物理内存的组织,虚拟内存的组织,以及为二者建立联系的内存的分配。我所谈的都是内核中逻辑层面内容。说实在的逻辑上的都是虚的,就好比一个国家好多机构,每几个干实事儿的,可确实不能缺了。其实,要能说明白,为什么分为这三部分,将会是一件非常有意义的事。.........【阅读全文】

阅读(1651) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册