Re: [PATCH] toolsoftrade: Typo fix and context adjustment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 09, 2017 at 08:02:23PM +0900, Akira Yokosawa wrote:
> >From 80b39e5d9acfec943c28d41077494be696d4ac60 Mon Sep 17 00:00:00 2001
> From: Akira Yokosawa <akiyks@xxxxxxxxx>
> Date: Sun, 9 Apr 2017 18:54:40 +0900
> Subject: [PATCH] toolsoftrade: Typo fix and context adjustment
> 
> There are three primitives introduced here now: barrier(),
> READ_ONCE(), and WRITE_ONCE().
> 
> Fixes: 7945ae1a06c5 ("Further editing to Tools of Trade")
> Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>

Good catch, applied, thank you!

							Thanx, Paul

> ---
>  toolsoftrade/toolsoftrade.tex | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/toolsoftrade/toolsoftrade.tex b/toolsoftrade/toolsoftrade.tex
> index c225bee..483d287 100644
> --- a/toolsoftrade/toolsoftrade.tex
> +++ b/toolsoftrade/toolsoftrade.tex
> @@ -1247,8 +1247,8 @@ avoids optimizing away a given memory read, in which case the
>  \co{READ_ONCE()} primitive may be used, as it was on line~17 of
>  Figure~\ref{fig:toolsoftrade:Demonstration of Exclusive Locks}.
>  Similarly, the \co{WRITE_ONCE()} primitive may be used to prevent the
> -compiler from optimizing a way a given memory write.
> -These last two primitives are not provided directly by gcc,
> +compiler from optimizing away a given memory write.
> +These last three primitives are not provided directly by gcc,
>  but may be implemented straightforwardly as follows:
> 
>  \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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux