ck_epoch: Switch to full barrier semantics.

May as well capture synchronize -> non-temporal use-case.
ck_pring
Samy Al Bahra 9 years ago
parent ece3a24a4f
commit c06fd5739f

@ -475,7 +475,12 @@ reload:
}
}
ck_pr_fence_release();
/*
* A majority of use-cases will not require full barrier semantics.
* However, if non-temporal instructions are used, full barrier
* semantics are necessary.
*/
ck_pr_fence_memory();
record->epoch = delta;
return;
}

Loading…
Cancel
Save