Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [newlock] syssrc/sys/arch/i386/include



Module Name:    syssrc
Committed By:   thorpej
Date:           Wed Mar 20 01:55:54 UTC 2002

Modified Files:
        syssrc/sys/arch/i386/include [newlock]: lock.h

Log Message:
* Add a memory clobber to the atomic operations in the lock-acquire
  path, so that the compiler will treat them as a memory access barrier.
* Spin with a normal memory load until the lock is released and then
  retry the compare-and-swap in __cpu_simple_lock().


To generate a diff of this commit:
cvs rdiff -r1.5.10.2 -r1.5.10.3 syssrc/sys/arch/i386/include/lock.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index