mmap的两个作用:快速读写文件,共享文件实现进程间通信
mmap的原理和使用方法介绍在:kenby.iteye.com/blog/1164700
mmap的代码解读在:blog.chinaunix.net/uid-24517893-id-164217