In the provably false case, add barrier() in both the legs of the if() condition
to provide ordering.
Signed-off-by: Pranith Kumar
---
Documentation/memory-barriers.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/memory-barriers.txt
b/Documentation/memory-barriers.txt
in
On Mon, Aug 11, 2014 at 06:51:40PM -0400, Pranith Kumar wrote:
> In the provably false case, add barrier() in both the legs of the if()
> condition
> to provide ordering.
>
> Signed-off-by: Pranith Kumar
> ---
> Documentation/memory-barriers.txt | 2 ++
> 1 file changed, 2 insertions(+)
>
> di
2 matches
Mail list logo