Use exising fields of mkey struct to identify 'shared memory'
segments.
mkey.u.key is now always initialized to MAP_SEGMENT_SHM_INVALID instead
of 0
reviewed by Mike and Igor
cmr=v1.8.2:reviewer=ompi-rm1.8
This commit was SVN r32174.
Provide users with right fail reason.
fixes trac:4433
This commit was SVN r31202.
The following Trac tickets were found above:
Ticket 4433 --> https://svn.open-mpi.org/trac/ompi/ticket/4433
Refs trac:4399
fixed by Roman, reviewed by Miked
cmr=v1.7.5:reviewer=ompi-rm1.7
This commit was SVN r31179.
The following Trac tickets were found above:
Ticket 4399 --> https://svn.open-mpi.org/trac/ompi/ticket/4399
Using MAP_ANONYMOUS brings different interpretation of fd, offset arguuments of mmap()
Linux:
The mapping is not backed by any file; the fd and offset arguments are ignored.
Mac:
Map anonymous memory not associated with any specific file. The offset argument is
ignored. Mac OS X specific: the file descriptor used for creating MAP_ANON regions
can be used to pass some Mach VM flags, and can be specified as -1 if no such flags
are associated with the region
FreeBSD:
Map anonymous memory not associated with any specific file. The file
descriptor used for creating MAP_ANON must be -1. The offset argument must be 0.
fixed by Igor, reviewed by Mike
Refs trac:4399
cmr=v1.7.5:reviewer=ompi-rm1.7
This commit was SVN r31140.
The following Trac tickets were found above:
Ticket 4399 --> https://svn.open-mpi.org/trac/ompi/ticket/4399
- similar to opal/shmem
- next step is some refactoring and merge into opal/shmem
Developed by Igor, reviewed by AlexM, MikeD
This commit fixes trac:4261.
This commit was SVN r30855.
The following Trac tickets were found above:
Ticket 4261 --> https://svn.open-mpi.org/trac/ompi/ticket/4261