[PATCH] Improve data-dependency memory barrier example in documentation
authorDavid Howells <dhowells@redhat.com>
Tue, 11 Apr 2006 05:54:24 +0000 (22:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:44 +0000 (06:18 -0700)
commitc14038c39ddd9c14225907a05a6ac4d91d645ef1
treea9f57acaaf9764b35ab9e50f370b8e6859f9501e
parentdbc8700e27a94621de9d22c506c67913e0121501
[PATCH] Improve data-dependency memory barrier example in documentation

In the memory barrier document, improve the example of the data dependency
barrier situation by:

 (1) showing the initial values of the variables involved; and

 (2) repeating the instruction sequence description, this time with the data
     dependency barrier actually shown to make it clear what the revised
     sequence actually is.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/memory-barriers.txt