Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions proxy/PluginVC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,10 @@ PluginVC::process_write_side(bool other_side_call)
if (!other_side_call) {
other_side->process_read_side(true);
} else {
other_side->read_state.vio.reenable();
// DO NOT call reenable() here,
// reschedule other_side with core_lock instead of sm_lock.
other_side->need_read_process = true;
other_side->setup_event_cb(0, &other_side->core_lock_retry_event);
}
}
}
Expand Down Expand Up @@ -676,7 +679,10 @@ PluginVC::process_read_side(bool other_side_call)
if (!other_side_call) {
other_side->process_write_side(true);
} else {
other_side->write_state.vio.reenable();
// DO NOT call reenable() here,
// reschedule other_side with core_lock instead of sm_lock.
other_side->need_write_process = true;
other_side->setup_event_cb(0, &other_side->core_lock_retry_event);
}
}
}
Expand Down