1
1
openmpi/oshmem
Mike Dubman 9314e9f0a3 OSHMEM: Fix mmap compatibility issue
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
2014-03-19 07:05:40 +00:00
..
include OSHMEM: extract memheap allocate methods into separate framework 2014-02-26 16:32:23 +00:00
mca OSHMEM: Fix mmap compatibility issue 2014-03-19 07:05:40 +00:00
op Apply Jeff`s patch from ticket: 3145 2013-11-25 11:02:42 +00:00
proc OSHMEM: add support for MPI collectives 2014-02-25 15:01:10 +00:00
request shmem: remove unused defines 2014-02-15 06:43:08 +00:00
runtime OSHMEM: SHMEM_API_ macro fix 2014-03-18 15:07:04 +00:00
shmem OSHMEM: SHMEM_API_ macro fix 2014-03-18 15:07:04 +00:00
tools Fix --enable|disable-oshmem configure switch 2014-03-13 21:23:04 +00:00
util OSHMEM: fix use of opal_verbose 2014-03-05 08:49:14 +00:00
Makefile.am Fix --enable|disable-oshmem configure switch 2014-03-13 21:23:04 +00:00