Commit 139d85d5 authored by Xin Zhao's avatar Xin Zhao Committed by Pavan Balaji
Browse files

Only make RMA progress when ISSUED active win or passive win exist.

This optimization was missed in 7189bcde

.
Here we add this back so that when there is no iSSUED active win
or passive win, we ignore the while loop in RMA progress.
Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@anl.gov>
parent 03b4a203
......@@ -827,6 +827,9 @@ int MPIDI_CH3I_RMA_Make_progress_global(int *made_progress)
(*made_progress) = 0;
if (MPIDI_CH3I_num_active_issued_win == 0 && MPIDI_CH3I_num_passive_win == 0)
goto fn_exit;
for (win_elem = MPIDI_RMA_Win_list; win_elem; win_elem = win_elem->next) {
int temp_progress = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment