| | |
Summary: Adaptive Mutual Exclusion with Local Spinning #
YongJik Kim
Tmax Soft Research Center
2726 Seohyeondong, Seongnamsi
Gyeonggido, Korea 463824
Email: jick@tmax.co.kr
James H. Anderson
Department of Computer Science
University of North Carolina at Chapel Hill
Chapel Hill, NC 275993175
Email: anderson@cs.unc.edu
March 2001, Revised May 2003, January 2005, and July 2006
Abstract
We present an adaptive algorithm for Nprocess mutual exclusion under read/write atomicity in which
all busy waiting is by local spinning. In our algorithm, each process p performs O(k) remote memory
references to enter and exit its critical section, where k is the maximum ``point contention'' experienced
by p. The space complexity of our algorithm is #(N ), which is clearly optimal. Our algorithm is the
first mutual exclusion algorithm under read/write atomicity that is adaptive when time complexity is
measured by counting remote memory references.
Keywords: Adaptive mutual exclusion, local spinning, read/write atomicity, sharedmemory systems,
|