From b1b19c1f74b0957f605a158f2c55475db5e74218 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Fri, 17 Aug 2012 17:02:34 -0400 Subject: [PATCH] ck_ring: Memory fence is overly pedantic for parameterized enqueue. --- include/ck_ring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ck_ring.h b/include/ck_ring.h index 4f1ad40..14f6380 100644 --- a/include/ck_ring.h +++ b/include/ck_ring.h @@ -89,7 +89,7 @@ return (false); \ \ ring->ring[producer] = *entry; \ - ck_pr_fence_memory(); \ + ck_pr_fence_store(); \ ck_pr_store_uint(&ring->p_tail, (producer + 1) & ring->mask); \ \ return (true); \