From 58af5c30725734bc6f982066502f4ac8ef7eca72 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Thu, 16 May 2013 16:36:16 -0400 Subject: [PATCH] ck_epoch: Elaborate on ck_epoch_register load fence. --- src/ck_epoch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ck_epoch.c b/src/ck_epoch.c index 1904748..51016e5 100644 --- a/src/ck_epoch.c +++ b/src/ck_epoch.c @@ -162,6 +162,7 @@ ck_epoch_recycle(struct ck_epoch *global) record = ck_epoch_record_container(cursor); if (ck_pr_load_uint(&record->state) == CK_EPOCH_STATE_FREE) { + /* Serialize with respect to deferral list clean-up. */ ck_pr_fence_load(); state = ck_pr_fas_uint(&record->state, CK_EPOCH_STATE_USED); if (state == CK_EPOCH_STATE_FREE) {