From e44b780db948ee7fd037e3c679f2b030b828c8b7 Mon Sep 17 00:00:00 2001 From: "Debayan Ghosh, Qualcomm Datacenter Technologies, Inc" Date: Wed, 2 Aug 2017 11:25:57 +0530 Subject: [PATCH] Fix barrier for FutexMutex lock exit implementation --- storage/innobase/include/ib0mutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/innobase/include/ib0mutex.h b/storage/innobase/include/ib0mutex.h index 6cf40a6..b0a312b 100644 --- a/storage/innobase/include/ib0mutex.h +++ b/storage/innobase/include/ib0mutex.h @@ -265,7 +265,7 @@ struct TTASFutexMutex { them up. Reset the lock state to unlocked so that waiting threads can test for success. */ - os_rmb; + os_wmb; if (state() == MUTEX_STATE_WAITERS) { -- 1.9.1