>From 8eed2299c472dff87047577d847de98b0ac0ba67 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Sun, 26 Mar 2017 17:19:07 +0900 Subject: [RFC PATCH 10/12] advsync: Fix line number called out 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 942c430..99593a6 100644 --- a/advsync/memorybarriers.tex +++ b/advsync/memorybarriers.tex @@ -250,7 +250,7 @@ synchronized among all CPUs (not available from all CPU architectures, unfortunately!), and the loop from lines~3-8 records the length of time that the variable retains the value that this CPU assigned to it. Of course, one of the CPUs will ``win'', and would thus never exit -the loop if not for the check on lines~6-8. +the loop if not for the check on lines~6-7. \QuickQuiz{} What assumption is the code fragment -- 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