base-linux/src/base/env/rm_session_mmap.cc/Platform_env::Rm_session_mmap::attach

Sven Fülster mx at ...19...
Tue Aug 4 14:06:35 CEST 2009


Hi Norman,

aren't you on holiday right now? :)

> On Linux, you'll have to make assumptions about how the Linux
> kernel allocates mmap regions. I would try to avoid relying on such
> heuristics. Do you have a particular reason for specifying local
> addresses for 'mmap()'?
>   
Yes, I have shared memory with pointers in it, and it just simplifies my 
work when the memory chunk is mapped to the same address in each of both 
processes.

Thank you :)

Sven




More information about the users mailing list