- 博客(7)
- 资源 (3)
- 收藏
- 关注
原创 C++ name mangling
a couple days ago, the boss asked me to convert a C++ project from X86 to X86_64. I thought it is easy for me, just do two the following steps:1. replace all of the x86 libraries (SO)to their
2013-05-06 15:56:11
695
原创 一个翻译错误引发的焦虑
看深入理解linux 内核 第三版,中断与异常一章,“大多说异常只在CPU处于用户态时发生,然而,page fault 异常发生在内核态" 。 对这句话百思不得其解,难道page fault都是在内核态发生的嘛? 只要要访问的内存被换出,任何move 指令不是都可以导致page fault嘛? 这个问题确实令我自责了许久,从决定开始学习kernel到现在,已经比较长的一段时间了,在一些基本概念上咋
2012-09-12 23:42:59
534
原创 sockfs: the most simple file system in linux kernel
几年前做windows 网络的时候,就一直很好奇,为什么对一个socket既可以使用recv,send等socket API,同时又可以使用writefile和readfile?转到Linux下后,受Everything is file的熏陶,越发对VFS实现产生兴趣,便想结合sockfs对VFS做一个具体的分析。然而,实践证明,把诸多元素混杂在一起,试图一劳永逸的做法有时候反而会让分析过程更
2012-07-30 17:14:22
1210
原创 APUE:checklist. I will turn back to answer these questions after I finsh it
If you happen to know these, please help to answer.What is unix sockets? Only used to connect local server?JDBC statement && preparedStatement获取组ID使用 getgid,那如何获取额外组ID呢?Open 打开文件时,如果使用
2012-02-29 09:01:00
560
原创 user space to kernel space
=============================================================================================== 一年之后,再读这篇文章,发现当时自己对很多概念还是模棱两可,对intel保护规则一知半解,今天将它完善,不要误导别人。=========================================
2011-10-05 22:52:43
458
原创 stop and think
Hi Man:It is the beginning of 2011. Everyone says that a year's plan starts with spring. But wait, I even did not have time to finish summary of last year. Is it right? or May be I was just two lazy to do this job.What I have gain last year? Year, I have p
2011-02-07 22:42:00
511
原创 Being confused
Hi, Man: Just half a year ago, I joined TM for a better working condition. It was very hard for me to make that dicision to leave HW. Some times, I even thought that I made a huge mistake. Now, more and more people choose to leave TM, teammate, col
2010-06-15 01:17:00
408
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人