Hi,

While trying to upgrade Erlang 19.0 within the rumprun-packages, I
have been running into multiple issues and mmap is one of them. While
trying to get around the issue altogether I want to get some
background on rumprun side as well. Having said that I am still in the
process of evaluating how best this can be avoided (in Erlang)
altogether but thats another story.
The application (Erlang) now uses mmap as follows:

    mmap(ptr,
              size,
              prot,
              MAP_ANON | MAP_PRIVATE | MAP_FIXED,
              ERTS_MMAP_FD,
              0);

The method sys_mmap clearly do not support MAP_FIXED at this point and
hence the application fails. I am looking for background around the
approach taken by rumprun in this case and any additional pointers to
possible solutions in case this is not a philosophical discussion.

Thanks,
Neeraj

Reply via email to