Chinaunix首页 | 论坛 | 博客
  • 博客访问: 237927
  • 博文数量: 32
  • 博客积分: 557
  • 博客等级: 中士
  • 技术积分: 431
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-20 23:05
文章分类

全部博文(32)

文章存档

2015年(4)

2014年(2)

2012年(4)

2011年(22)

分类: LINUX

2011-06-26 22:47:04

Understanding the Linux Kernel:

spinlock header file relationships:
阅读(3971) | 评论(13) | 转发(2) |
给主人留下些什么吧!~~

wangjianchangdx2011-07-01 21:18:13

下面可以回到semaphore了

wangjianchangdx2011-06-29 21:21:16

Linux 内核的排队自旋锁(FIFO Ticket Spinlock)
http://www.ibm.com/developerworks/cn/linux/l-cn-spinlock/
其中讲解了__ticket_spin_lock的汇编代码

wangjianchangdx2011-06-29 13:19:22

80386 Programmer's Reference Manual -- Opcode REP
http://www.fermi.mn.it/linux/quarta/x86/rep.htm

wangjianchangdx2011-06-29 13:00:05

Opcode XADD
from http://asm.inightmare.org/opcodelst/index.php?op=XADD

CPU: i486+
Type of Instruction: User
Instruction: XADD dest,sorc
Description:
Temporary <- dest;
dest         <- dest + sorc;
sorc         <- Temporary;

Flags Affected:     &n

wangjianchangdx2011-06-29 00:17:00

接下来看看__ticket_spin_lock的汇编代码