I want to use a library that uses file descriptors as the basic means to access its data. For performance reasons, I don\'t want to have to commit files to the disk each before I use this library\'s f
Is it possible to cha开发者_如何学JAVAnge the name of an already open memory mapped file, or, do I need to close it, rename it and then mmap it again?Renaming a file while it is open is fine, regardle
I\'m trying to find out how to remap memory-mapped files on a Mac (when I want to expand the available space).
In our product we use a malloc implementation that relies exclusively on mmap for memory allocation.We also do a fair use of allocaing.We\'ve just encountered a problem where m开发者_如何转开发map wil
I\'ve been having some trouble with FreeBSD and large mmaps. Linux does not show the same problems. On program startup it can always get the 1 GB map. However, there\'s a reload operation where the f
Mmap returns a void*, but not a volatile void*. If I\'m using mmap to map shared memory, then another process could be writing to that memory, which means two subsequent reads from the same memory loc
I need the fastest way to periodically sync file with memory. What I think I would like is to have an mmap\'d file, which is only sync\'d to disk manually. I\'m not sure how to prevent any automatic
Can dirtiness of pages of a (non-shared) mmap be accessed fro开发者_Go百科m userspace under linux 2.6.30+?Platform-specific hacks and kludges welcome.
My PHP script contains a loop, which does nothing much more than echoing and dereferencing pointers (like in $tab[$othertab[$i]]-> stuff).
Some days ago, I decided that it would be fun to write a streambuf subclass that would use mmap and read-ahead.