自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

niko's blog

------------------------------------------------------------Determination

  • 博客(6)
  • 收藏
  • 关注

转载 内核中的 likely() 与 unlikely()

 在 2.6 内核中,随处可以见到 likely() 和 unlikely() 的身影,那么为什么要用它们?它们之间有什么区别? 首先要明确:            if(likely(value)) 等价于 if(value)            if(unlikely(value)) 也等价于 if(value)也就是说 likely() 和 unlikely() 从阅读和理

2008-07-25 10:09:00 710 1

转载 Linux kernel makefile 文档

 Linux Kernel MakefilesThis document describes the Linux kernel Makefiles.1. OverviewThe Makefiles have five parts:Makefile the top Makefile. .config the kernel

2008-07-23 13:59:00 3081 1

原创 kernel netlink connector 学习笔记

参考文章: 连接器(Netlink Connector)及其应用    Linux 系统内核空间与用户空间通信的实现与分析  内核文档 Documentation/connector/connector.txt测试用例:     内核模块 Documentation/connector/cn_test.c                         用户态程序 Document

2008-07-20 20:03:00 1863

原创 Kzalloc与Kmalloc差异

 先看看kernel里的定义:/** * kzalloc - allocate memory. The memory is set to zero. * @size: how many bytes of memory are required. * @flags: the type of memory to allocate (see kmalloc). */static in

2008-07-20 19:48:00 14439 3

原创 程序员专用字体-Monospace/Fixed Width Programmer's Fonts

Good Programming Font CriteriaCrisp clear characters.Extended characterset.Good use of whitespace.l, 1 and i are easily distinguished0, o and O are easily distinguishedforward quot

2008-07-19 13:07:00 2788

原创 VIM插件之NERD_comments.vim

下载地址: http://www.vim.org/scripts/script.php?script_id=1218 install details ***NOTE***: In version 2.0.0 the script file and help file were renamed to NERD_commenter.vim and NERD_commenter.txt. If yo

2008-07-09 16:31:00 2450

空空如也

空空如也

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

TA关注的人

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