From 5fad753d6ef9c8465793922ffcd12a7a31c5efc1 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Mon, 10 Sep 2012 17:54:03 -0400 Subject: [PATCH] ck_epoch: No need for the fence on synchronize for TSO. We still require a CAS on fast path, which acts as serializing. --- src/ck_epoch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ck_epoch.c b/src/ck_epoch.c index 706d1e8..64426d9 100644 --- a/src/ck_epoch.c +++ b/src/ck_epoch.c @@ -294,7 +294,7 @@ ck_epoch_barrier(struct ck_epoch *global, struct ck_epoch_record *record) * Guarantee any mutations previous to the barrier will be made visible * with respect to epoch snapshots we will read. */ - ck_pr_fence_strict_memory(); + ck_pr_fence_memory(); for (i = 0, cr = NULL; i < CK_EPOCH_GRACE - 1; cr = NULL, i++) { /*