虚拟内存和虚拟地址的区别?mmap
虚拟内存和虚拟地址的区别?
这个影响我对mmap的理解
mmap是什么?是(进程内创建一个虚拟地址空间,就可以绕过用户内存和内核内存的拷贝,进行直接访问): mmap() creates a new mapping in the virtual address space of the
calling process. The starting address for the new mapping is
specified in addr. The length argument specifies the length of the
mapping (which must be greater than 0).
具体见:http://www.man7.org/linux/man-pages/man2/mmap.2.html
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

更多精彩