NOTE: Shmat and mmap are used in Lotus Domino to get Shared memory.
注:shmat和mmap在Lotus Domino中用于获得共享内存。
The munmap subroutine only unmaps regions created from calls to the mmap subroutine.
munmap 子例程只是取消 对 mmap 子例程的调用而创建的区域的映射。
Also, invoking mmap and mfree is much slower than carving out an existing chunk of memory.
还有,调用mmap和mfree比雕刻出一个已存在的内存块慢许多。
应用推荐