Skip to content

Commit 354b753

Browse files
authored
Merge pull request #9256 from awlauria/master_fix_memhook_recursion
Fix a memory hook recursion hang
2 parents 03d7386 + d620ad1 commit 354b753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/memory/patcher/memory_patcher_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ static int _intercept_madvise(void *start, size_t length, int advice)
303303
advice == MADV_REMOVE ||
304304
# endif
305305
advice == POSIX_MADV_DONTNEED) {
306-
opal_mem_hooks_release_hook(start, length, false);
306+
opal_mem_hooks_release_hook(start, length, true);
307307
}
308308

309309
if (!original_madvise) {

0 commit comments

Comments
 (0)