On Sat, Jun 12, 2010 at 12:04:17PM +0100, Ethan Grammatikidis wrote:
On 12 Jun 2010, at 11:53, pancake wrote:That's why mmap is for. Using read is just stupid.I've been told mmap hugely complicates virtual memory systems. Anyone want to confirm or deny this?
Yes, it does. Hugely. But, on the other hand, it's the entire basis of modern malloc implementatons and dynamic linking and loading.
-- Kris Maglione Microsoft is not the answer. Microsoft is the question. NO is the answer. --Eric Naggum