A good reference about mmap() is simply the source code for the Linux or BSD kernels. You will find there everything you always wanted to know about memory mappings and memory allocation. Having a look inside a C library to see how malloc and friends are implemented is also a good idea.
Good luck using xmemory , do not hesitate to send feedback or report bugs to the author.
N. Devillard - May 2002