document "rep; no" black magic
document "rep; no" black magic
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
Re: document "rep; no" black magic
От:
Neil Conway <neilc@samurai.com>
Дата:
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