Re: [PATCH] doc: memory-barriers.txt: Correct example for reorderings

From: Pranith Kumar
Date: Thu Aug 28 2014 - 17:16:26 EST


On Thu, Aug 28, 2014 at 5:00 PM, Paul E. McKenney
<paulmck@xxxxxxxxxxxxxxxxxx> wrote:
>
> I am really confused by the ordering of the new lines, as I would have
> expected the "x"s to be replaced with "y"s and vice versa. But the
> ordering of the various combinations does not matter, and each line
> looks OK.
>

Since x = A was replaced by x = B and y = B was replaced by y = A, I
just converted all x = load A to x = load B. Similarly for y. I think
we can do either this or as you suggested replacing x's with y's.

--
Pranith
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/