>From 9cd64784778068743b68110c830547e9dfeb5e9b Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Fri, 23 Dec 2016 16:14:38 +0900 Subject: [PATCH 2/3] advsync/memorybarriers: Fix typo (READ_ONCE -> WRITE_ONCE) Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- advsync/memorybarriers.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advsync/memorybarriers.tex b/advsync/memorybarriers.tex index 8018f8c..e117c2c 100644 --- a/advsync/memorybarriers.tex +++ b/advsync/memorybarriers.tex @@ -1845,7 +1845,7 @@ as follows: \scriptsize \begin{verbatim} 1 q = READ_ONCE(a); - 2 READ_ONCE(b, 1); /* BUG: CPU can reorder!!! */ + 2 WRITE_ONCE(b, 1); /* BUG: CPU can reorder!!! */ \end{verbatim} \end{minipage} \vspace{5pt} -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe perfbook" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html