1
1

Merge pull request #5543 from jsquyres/pr/v4.0.x/vader-fix

v4.0.x: btl/vader: move memory barrier to where it belongs
Этот коммит содержится в:
Geoff Paulsen 2018-08-15 16:21:44 -05:00 коммит произвёл GitHub
родитель cdc315c1ac b4f80e4e36
Коммит 54c5aac93f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

Просмотреть файл

@ -1,6 +1,6 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2011-2015 Los Alamos National Security, LLC. All rights
* Copyright (c) 2011-2018 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
@ -51,8 +51,8 @@ static inline void mca_btl_vader_fbox_set_header (mca_btl_vader_fbox_hdr_t *hdr,
uint16_t seq, uint32_t size)
{
mca_btl_vader_fbox_hdr_t tmp = {.data = {.tag = tag, .seq = seq, .size = size}};
hdr->ival = tmp.ival;
opal_atomic_wmb ();
hdr->ival = tmp.ival;
}
/* attempt to reserve a contiguous segment from the remote ep */