Use free list get instead of wait; this is a constrained resource that will never come back, as it scales with the number of windows and not some more dynamic resources...
This commit was SVN r24685.
Этот коммит содержится в:
родитель
d1d2cd0a87
Коммит
8376e0e507
@ -391,7 +391,7 @@ ompi_osc_pt2pt_component_select(ompi_win_t *win,
|
||||
opal_atomic_mb();
|
||||
|
||||
/* start up receive for protocol headers */
|
||||
OPAL_FREE_LIST_WAIT(&mca_osc_pt2pt_component.p2p_c_buffers,
|
||||
OPAL_FREE_LIST_GET(&mca_osc_pt2pt_component.p2p_c_buffers,
|
||||
item, ret);
|
||||
if (OMPI_SUCCESS != ret) goto cleanup;
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user