自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

转载 进程调度策略

13.2    Scheduling PoliciesThe operating system supports four scheduling policies for threads. A thread object's scheduling policy is determined by the setting of the scheduling policy attribute i

2014-10-28 14:05:29 408

原创 tcp PUSH 标志的理解

PUSH标志发送端  TCP将发送带有PUSH标志的数据包时,表示这个数据应该被立即发送,而不要等待额外的数据。接收端接受到带有PUSH标志的数据时,接收进程接受到的所有数据(包含当前带PUSH标示的数据包)应该立即被提交到应用层。 当前没有API通知TCP哪些数据需要被设置PUSH标示,完全由TCP自行判断决定。 TCP是如何决策哪些数据需要被标示PUSH呢?    

2014-10-11 08:29:37 3477

原创 拥塞控制的理解

TCP拥塞控制主要目的是:

2014-09-18 18:22:43 633 2

原创 LINUX 字符设备自动创建文件节点

#include #include #include #include #include  MODULE_LICENSE("GPL"); #define DEVICE_NAME "hello"#define DEVICE_CLASS_NAME"helloclass"struct cdev mycdev;dev_t device_node;static

2014-09-18 13:18:30 486

原创 LINUX手动创建设备节点与字符注册

#include #include #include #include  MODULE_LICENSE("GPL"); #define DEVICE_NAME "hello0"struct cdev mycdev;dev_t device_node;  static __init int hello_init(void){         i

2014-09-18 13:14:16 1648

原创 Makefile编写记录

Makefile编写记录ifneq ($(KERNELRELEASE),)obj-m := helloworld.oelse KERNELDIR ?= /lib/modules/$(shell uname-r)/buildPWD := $(shell pwd) default:         $(MAKE)-C $(KERNELDIR) M=$(PWD) mo

2014-09-18 13:03:55 396

原创 简单的HelloWorld程序

#include #include  MODULE_LICENSE("Dual BSD/GPL"); static int __init hello_init(void){         printk("%s-- hello world,are you ok!\n",__func__);                  return0;} sta

2014-09-18 13:03:22 420

转载 the real role of Major and Minor Numbers(来源于网络)

One of the basic features of the Linux kernel is that it abstracts the handling of devices. All hardware devices look like regular files; they can be opened, closed, read and written using the same, s

2014-09-18 09:21:25 343

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除