1
1
openmpi/opal/mca/memory/patcher
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
..
configure.m4 opal: Disable memory patcher component on MacOS 2018-10-02 13:35:15 -04:00
Makefile.am opal/memory: add support for patch based memory hooks 2016-04-13 17:14:31 -06:00
memory_patcher_component.c shmat/shmdt additions for patcher 2019-03-29 14:38:46 -04:00
memory_patcher.h Updated IBM Copyright message for contributions in memory patcher component. 2016-04-25 15:13:38 -04:00