Skip to content

Commit edae479

Browse files
authored
Merge pull request #9277 from awlauria/mem_recursion_v5.0.x
v5.0.x: fix a memory hook recursion hang
2 parents 3fffe95 + 8f3494f commit edae479

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)