From 0517a51b06c3c46317a791d9408487906de08d80 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Fri, 12 Jul 2013 19:50:55 -0400 Subject: [PATCH] ck_spinlock: Weaken volatile store in clh_lock. --- include/ck_spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ck_spinlock.h b/include/ck_spinlock.h index b9791a0..5e80a32 100644 --- a/include/ck_spinlock.h +++ b/include/ck_spinlock.h @@ -823,7 +823,7 @@ ck_spinlock_clh_lock(struct ck_spinlock_clh **queue, struct ck_spinlock_clh *thr struct ck_spinlock_clh *previous; /* Indicate to the next thread on queue that they will have to block. */ - ck_pr_store_uint(&thread->wait, true); + thread->wait = true; ck_pr_fence_store(); /* Mark current request as last request. Save reference to previous request. */