forked from ofiwg/libfabric
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core/util: Additional fixes for mr cache hooking mechanism
This commit fixes: - removes unnecessary fastlock acquiring/release inside of ofi_intercept_symbol() function. We cannot acquire monitor lock inside of this function since it already acquired in ofi_monitor_add_cache(); - adds missing dlist_init() for dl_intercept_list; - fixes dlist_insert() segfault in ofi_intercept_symbol(); - adds missing logic for FI_MR_CACHE_MONITOR supporting "userfaultfd" and "memhooks monitor" with fallback to default monitor. - adds some missing cleanup logic Signed-off-by: Mikhail Khalilov <mikhail.khalilov@intel.com>
- Loading branch information
Mikhail Khalilov
committed
Jul 29, 2019
1 parent
dbfd9a4
commit 0feb0c5
Showing
2 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains 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 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