- 博客(7)
- 资源 (38)
- 收藏
- 关注
转载 zz: linux中断处理
http://linux.chinaitlab.com/administer/824246.html 一:引言 在Intel的文档中,把中断分为两种.一种是异常,也叫同步同断.一种称之为中断,也叫异常中断. 同步中断指的是由CPU控制单元产生,之所以称之为同步,是因为只有一条指令执行完毕后才会发出中断.例如除法运算中,除数为零的时候,就会产生一个异常
2011-12-30 15:11:39 727
转载 zz : Linux中对中断的支持
Linux内核中使用的门是在i386平台的门的基础上做了更进一步的细化后形成的,如下所示: 1、中断门:处理器中DPL被设置为0的中断门,不能用户态下对其进行访问。Linux下所有的(硬)中断处理程序都是在核心态下通过中断门来激活的。 2、系统门:处理器中DPL被设置为3的陷阱门,可以在用户态下对其进行访问。Linux的三种异常处理函数(中断号为4、5、128)都是通过系统门
2011-12-30 14:33:48 815
转载 zz : Linux 内核中断内幕
http://www.ibm.com/developerworks/cn/linux/l-cn-linuxkernelint/ 什么是中断 Linux 内核需要对连接到计算机上的所有硬件设备进行管理,毫无疑问这是它的份内事。如果要管理这些设备,首先得和它们互相通信才行,一般有两种方案可实现这种功能: 轮询(polling) 让内核定期对设备的状态进
2011-12-30 14:00:26 552
转载 zz : memcached源码学习-内存管理机制slab allocator
zz : http://blog.csdn.net/tankles/article/details/7027645 前端时间大致浏览了一下memcached的源码,但是并没有对相关的知识点进行总结和记录,所以很快就忘了,这次打算将memcached的源码再学习一遍,并进行总结归纳。 memcached模块化设计比较好,每个模块除了对外接口定义在头文件外,其它函数定义及实现都
2011-12-30 12:43:38 790
转载 zz: Linux SLAB 分配器详解
林 昊翔 (linhaoxiang@hotmail.com), Linux 内核爱好者 林昊翔,计算机科学硕士,毕业于清华大学计算机系,Linux 内核爱好者 秦 君 (qinjun@cn.ibm.com), 软件工程师, IBM 秦君,现在 IBM 中国软件开发实验室 Lotus 开发中心工作,目前从事 Lotus Quickr 的开发工作。 简介: 多年以来,L
2011-12-30 12:25:23 790
转载 zz: Linux slab 分配器剖析
http://www.ibm.com/developerworks/cn/linux/l-linux-slab-allocator/ 动态内存管理 内存管理的目标是提供一种方法,为实现各种目的而在各个用户之间实现内存共享。内存管理方法应该实现以下两个功能: 最小化管理内存所需的时间 最大化用于一般应用的可用内存(最小化管理开销) 内存管理实际上是一种关
2011-12-30 11:45:06 457
转载 zz : 基于80x86的Linux分段机制
zz : http://blog.csdn.net/yunsongice/article/details/5220724 1 基于80x86的Linux分段机制 80386的两种工作模式:80386的工作模式包括实地址模式和虚地址模式(保护模式)。Linux主要工作在保护模式下。 在保护模式下,80386虚地址空间可达16K个段,每段大小可变,最大达4GB。逻辑地址到线性地址的转
2011-12-30 11:05:00 837
reliable rabbitmq c++ client
2018-07-16
trade middle ware
2018-06-29
simple exchange platform client
2018-06-01
evpp based echo server
2018-05-03
libevent echo server
2018-04-24
thrift with memfunc and uid generator
2018-01-30
thrift server support db operation and rest protocol
2018-01-18
20180111 ieap
2018-01-11
AnalyzeServer 20180109 with DBConnPool
2018-01-09
thrift example
2018-01-04
prpc_20181109
2018-11-09
coroutine using phxrpc
2018-11-01
remote procedure call using protobuffer
2018-08-21
brpc doubly_buffered_data test
2018-08-07
rabbitmq-c client publish get example
2018-07-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人