Paper published in a book (Scientific congresses and symposiums)
A Verification-Based Approach to Memory Fence Insertion in PSO Memory Systems
Linden, Alexander; Wolper, Pierre
2013In Proceedings of the 19th international conference on Tools and algorithms for the construction and analysis of systems
Peer reviewed
 

Files


Full Text
LW TACAS2013.pdf
Author postprint (304.18 kB)
Download

The original publication is available at www.springerlink.com


All documents in ORBi are protected by a user license.

Send to



Details



Keywords :
model-cheking; relaxed memory models; finite automata; memory fence insertion; partial store order
Abstract :
[en] This paper addresses the problem of verifying and correcting programs when they are moved from a sequential consistency execution environment to a relaxed memory context. Specifically, it considers the PSO (Partial Store Order) memory model, which corresponds to the use of a store buffer for each shared variable and each process. We also will consider, as an intermediate step, the TSO (Total Store Order) memory model, which corresponds to the use of one store buffer per process. The proposed approach extends a previously developed verification tool that uses finite automata to symbolically represent the possible contents of the store buffers. Its starting point is a program that is correct for the usual Sequential Consistency (SC) memory model, but that might be incorrect under PSO with respect to safety properties. This program is then first analyzed and corrected for the TSO memory model, and then this TSO-safe program is analyzed and corrected under PSO, producing a PSO-safe program. To obtain a TSO-safe program, only store-load fences (TSO only allows store-load relaxations) are introduced into the program. Finaly, to produce a PSO-safe program, only store-store fences (PSO additionally allows store-store relaxations) are introduced. An advantage of our technique is that the underlying symbolic verification tool makes a full exploration of program behaviors possible even for cyclic programs, which makes our approach broadly applicable. The method has been tested with an experimental implementation and can effectively handle a series of classical examples.
Disciplines :
Computer science
Author, co-author :
Linden, Alexander ;  Université de Liège - ULiège > Dép. d'électric., électron. et informat. (Inst.Montefiore) > Dép. d'électric., électron. et informat. (Inst.Montefiore)
Wolper, Pierre  ;  Université de Liège - ULiège > Dép. d'électric., électron. et informat. (Inst.Montefiore) > Informatique
Language :
English
Title :
A Verification-Based Approach to Memory Fence Insertion in PSO Memory Systems
Publication date :
March 2013
Event name :
19th International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS)
Event place :
Rome, Italy
Event date :
16 - 24 March 2013
Audience :
International
Main work title :
Proceedings of the 19th international conference on Tools and algorithms for the construction and analysis of systems
Publisher :
Springer
ISBN/EAN :
978-3-642-36741-0
Collection name :
Lecture Notes in Computer Science, vol 7795
Pages :
339-353
Peer reviewed :
Peer reviewed
Available on ORBi :
since 08 January 2013

Statistics


Number of views
231 (32 by ULiège)
Number of downloads
403 (7 by ULiège)

Scopus citations®
 
22
Scopus citations®
without self-citations
22
OpenCitations
 
20

Bibliography


Similar publications



Contact ORBi