Thread: document "rep; no" black magic

document "rep; no" black magic

From
Neil Conway
Date:
This patch adds a comment that describes what the "rep; no" sequence in
spin_delay() does, in src/include/storage/s_lock.h. I think fully
describing what this code sequence is intended to due is worth the
space, but speak up if you think I've added too large a comment...

Barring any objections, I intend to apply this tomorrow.

-Neil


Attachment

Re: document "rep; no" black magic

From
Neil Conway
Date:
On Wed, 2004-10-06 at 17:04, Neil Conway wrote:
> This patch adds a comment that describes what the "rep; no" sequence in
> spin_delay() does, in src/include/storage/s_lock.h

Patch applied to HEAD.

(Of course, I meant to write "rep; nop" in the previous mail -- typo'd
twice...)

-Neil