A Graph-Theoretic Model of Shared-Memory Legality

Legality is a key concept for the de nition of many shared-memory consistency conditions. As originally de ned, a sequence of operations on a given object is legal if it is in the set of valid sequences speci ed for that object. Because legality is de ned on totally ordered sets of operations, the actual derivation of algorithms and protocols to implement the consistency models that rely on some form of legality may tend to \exaggerate" the amount of synchronization that they eventually require. In this paper we introduce an alternative de nition for legality that is based on partially ordered sets of operations representing parallel executions on shared-memory multiprocessing systems. Using a graph-theoretic formalization, this novel de nition of legality is shown to be consonant with the one on totally ordered sets of operations.

[1]  Leslie Lamport,et al.  Time, clocks, and the ordering of events in a distributed system , 1978, CACM.

[2]  Leslie Lamport,et al.  How to Make a Multiprocessor Computer That Correctly Executes Multiprocess Programs , 2016, IEEE Transactions on Computers.

[3]  Jayadev Misra Axioms for Memory Access in Asynchronous Hardware Systems , 1984, Seminar on Concurrency.

[4]  Maurice Herlihy,et al.  Linearizability: a correctness condition for concurrent objects , 1990, TOPL.

[5]  Anoop Gupta,et al.  Memory consistency and event ordering in scalable shared-memory multiprocessors , 1990, [1990] Proceedings. The 17th Annual International Symposium on Computer Architecture.

[6]  Rida A. Bazzi,et al.  The power of processor consistency , 1993, SPAA '93.

[7]  Mark D. Hill,et al.  A Unified Formalization of , 1993 .

[8]  Vivek Sarkar,et al.  Location Consistency: Stepping Beyond the Memory Coherence Barrier , 1995, ICPP.

[9]  André Schiper,et al.  From Causal Consistency to Sequential Consistency in Shared Memory Systems , 1995, FSTTCS.

[10]  Michel Raynal,et al.  Sequential Consistency in Distributed Systems : Theory and Implementation , 1995 .

[11]  K. Gharachodoo,et al.  Memory consistency models for shared memory multiprocessors , 1996 .

[12]  Valmir Carneiro Barbosa,et al.  An introduction to distributed algorithms , 1996 .

[13]  Roy Friedman,et al.  Shared Memory Consistency Conditions for Nonsequential Execution: Definitions and Programming Strategies , 1998, SIAM J. Comput..

[14]  Valmir C. Barbosay,et al.  A Graph-Theoretic Characterization of ANDOR Deadlocks , 1998 .

[15]  Matteo Frigo,et al.  The weakest reasonable memory model , 1998 .