- 博客(14)
- 资源 (4)
- 收藏
- 关注
原创 8.3 SERIALIZING INSTRUCTIONS
The Intel 64 and IA-32 architectures define several serializing instructions. These instructions force the processor to complete all modifications to flags, registers, and memory by previous instruc
2013-09-26 15:57:52 1083
原创 System V Application Binary Interface AMD64 Architecture Processor Supplement
Passing Once arguments are classified, the registers get assigned (in left-to-rightorder) for passing as follows:1. If the class is MEMORY, pass the argument on the stack.2. If the class is INT
2013-09-26 14:29:46 1140
原创 deadlock
死锁形成的原因是不同进程所持有和申请的锁形成了一个环,出现死锁一般表明程序代码中有bug。在Linux内核中,为了避免死锁,有几条措施:1 spin lock获得后不会发生进程调度;2 获取多把spin lock时,所有进程按照锁的地址大小顺序获取;3 要使用多个锁的子系统中,对各种锁的使用会形成一个获取顺序的约定,(可参考mm/rmap.c)4 Linux内核中
2013-09-26 13:52:21 854
转载 金山网络CEO 傅盛
金山网络CEO 傅盛以前我当产品经理的时候,经常因为“逻辑”跟工程师吵得一塌糊涂。那个时候的工程师们都喜欢树型结构。虽然今天已经销声匿迹了,但他们仍然喜欢把“逻辑”挂在嘴边。他们会在产品上花很多心血,很多功能都舍不得扔掉,却不知道用户能接受的其实只是最简单的点。我讲个例子。有一天,太太跟我说家里电脑太暗了,我一看是因为出差前我调成了最暗,回来后忘记设置了。遇到这种情况你的第
2013-09-25 22:06:00 968
原创 array and pointer
1: const char ** and char **const char ** ==> const char * char ** ==> char *2: arrayint a[10]a as a right valueb = a == > char ((char *)a) length = 1b = &a ==> len
2013-09-21 09:50:42 1048
原创 Python exercises
http://projecteuler.net/problemshttp://www.pythonchallenge.com/
2013-09-18 16:15:21 613
原创 rep movs loads stos
repOperationIF AddressSize = 16 THEN Use CX for CountReg; Implicit Source/Dest operand for memory use of SI/DI; ELSE IF AddressSize = 64 THEN Use RCX for CountReg;
2013-09-16 13:11:40 930
原创 Unicode Character SearchUnicode Character Search
http://www.fileformat.info/info/unicode/char/search.htm
2013-09-13 13:03:56 629
原创 Tips Tricks
1:options -> preferences -> Display, 去掉"Trim long path names with ellipses",这样就可以在source insight下显示文件的完整路径了。2: Source Insight 中得到当前文件名和路径使用 Source Insight 过程中,有时需要使用当前文件的文件名或路
2013-09-05 10:26:58 647
原创 resource links
google chrome https://www.google.com/intl/zh-CN/chrome/browser/thankyou.html?standalone=1
2013-09-04 13:25:37 632
转载 per cpu
http://blog.chinaunix.net/uid-24148050-id-300576.htmlhttp://blog.chinaunix.net/uid-24148050-id-300576.htmlhttp://blog.chinaunix.net/uid-23769728-id-3807492.htmlhttp://blog.csdn
2013-09-02 14:54:42 665
转载 List of freely available programming books
http://stackoverflow.com/questions/194812/list-of-freely-available-programming-books
2013-09-01 09:11:55 591
gcc内联汇编手册
2012-01-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人