1
1
openmpi/opal/mca/memory
Mark Allen eb888118e8 shmat/shmdt additions for patcher
This is mostly based off recent UCX additions to their patcher:
    https://github.com/openucx/ucx/pull/2703

They added triggers for
* mmap when (flags & MAP_FIXED) && (addr != NULL)
* shmat when (shmflg & SHM_REMAP) && (shmaddr != NULL)

Beyond that I noticed they already had a trigger for
* madvise when (advice == MADV_FREE)
that we didn't so I added that.

And the other main thing is we didn't really have shmat/shmdt
active for some systems because we only had a path for
syscall(SYS_shmdt, ) but we needed to also have a path for
syscall(SYS_ipc, IPCOP_shmdt, ) and same for shmat.

Signed-off-by: Mark Allen <markalle@us.ibm.com>
2019-03-29 14:38:46 -04:00
..
base opal/memory: update component structure 2016-04-13 17:14:51 -06:00
malloc_solaris opal/memory: update component structure 2016-04-13 17:14:51 -06:00
patcher shmat/shmdt additions for patcher 2019-03-29 14:38:46 -04:00
configure.m4 Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
memory.h opal/memory: update component structure 2016-04-13 17:14:51 -06:00