This repository was archived by the owner on Sep 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
v2.x mem hook update #1079
Merged
Merged
v2.x mem hook update #1079
Changes from 15 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
8279755
opal/fifo: use atomics to set fifo head in opal_fifo_push
hjelmn 5703574
opal/memory: add support for patch based memory hooks
hjelmn 4b7cd1c
opal/memory: update component structure
hjelmn 9abddc4
opal/patch: add call to check if binary patching is supported
hjelmn f307571
contrib/platform: don't disable dlopen
hjelmn 78ddde2
opal: add code patcher framework
hjelmn 75e6a25
memory/patcher: updates to memory hooks
hjelmn afd2dd4
memory/linux: force ptmalloc usage iff the linux mm is requested
hjelmn e2042d8
Trivial change to silence warning
37249cc
memory/patcher: fix coverity warning
hjelmn 2bae7f0
memory/patcher: munmap hook could be called from within a malloc() im…
hjelmn 72a9d51
patcher/linux: ensure component is only enabled on Linux
hjelmn 9a8f1e0
patcher/linux: fix compiler warnings
hjelmn 35d9105
patcher/overwrite: fix compile error on x86
hjelmn 6c55bae
memory/patcher: do not hook madvise if the syscall doesn't exist
hjelmn 19c1627
memory patcher: add some clarifying comments
jsquyres c407bb1
memory base: add comments explaining abstraction violations
jsquyres e1d70aa
Merge pull request #1 from jsquyres/hjelmn-v2.x_mem_hooks
hjelmn 0292a87
Updated IBM Copyright message for contributions in memory patcher com…
gpaulsen bac3362
Missed one IBM Copyright message for contributions in memory patcher …
gpaulsen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find it a bit weird to have #if's for specific components in the base... is this really necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better than the
#if
being in ompi_mpi_init.c ;)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess I don't understand why they are needed at all...? Can't these callbacks be done in a way that doesn't break abstractions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hjelmn Tells me that there's no component selected at this point. Grumble. Well, it's not a regression, so I guess we'll let this go for v2.0.0...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would call it a partial fix for the abstraction break. Now there is no check for ptmalloc2 in ompi_mpi_init.c.