Bounded TSO-to-SC Linearizability Is Decidable

TSO-to-SC linearizability is a variant of linearizability for concurrent libraries on the Total Store Order (TSO) memory model. In this paper we propose the notion of k-bounded TSO-to-SC linearizability, a subclass of TSO-to-SC linearizability that concerns only bounded histories. This subclass is n...

Full description

Saved in:
Bibliographic Details
Published inSOFSEM 2016: Theory and Practice of Computer Science pp. 404 - 417
Main Authors Wang, Chao, Lv, Yi, Wu, Peng
Format Book Chapter
LanguageEnglish
Published Berlin, Heidelberg Springer Berlin Heidelberg 2016
SeriesLecture Notes in Computer Science
Subjects
Online AccessGet full text
ISBN9783662491911
3662491915
ISSN0302-9743
1611-3349
DOI10.1007/978-3-662-49192-8_33

Cover

More Information
Summary:TSO-to-SC linearizability is a variant of linearizability for concurrent libraries on the Total Store Order (TSO) memory model. In this paper we propose the notion of k-bounded TSO-to-SC linearizability, a subclass of TSO-to-SC linearizability that concerns only bounded histories. This subclass is non-trivial in that it does not restrict the number of write, flush and cas (compare-and-swap) actions, nor the size of a store buffer, to be bounded. We prove that the decision problem of k-bounded TSO-to-SC linearizability is decidable for a bounded number of processes. We first reduce this decision problem to a marked violation problem of k-bounded TSO-to-SC linearizability, where specific $$\textit{cas}$$ actions are introduced to mark call and return actions. Then, we further reduce the marked violation problem to a control state reachability problem of a lossy channel machine, which is already known to be decidable. Moreover, we can show that the decision problem of k-bounded TSO-to-SC linearizability has non-primitive recursive complexity.
Bibliography:Original Abstract: TSO-to-SC linearizability is a variant of linearizability for concurrent libraries on the Total Store Order (TSO) memory model. In this paper we propose the notion of k-bounded TSO-to-SC linearizability, a subclass of TSO-to-SC linearizability that concerns only bounded histories. This subclass is non-trivial in that it does not restrict the number of write, flush and cas (compare-and-swap) actions, nor the size of a store buffer, to be bounded. We prove that the decision problem of k-bounded TSO-to-SC linearizability is decidable for a bounded number of processes. We first reduce this decision problem to a marked violation problem of k-bounded TSO-to-SC linearizability, where specific \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\textit{cas}$$\end{document} actions are introduced to mark call and return actions. Then, we further reduce the marked violation problem to a control state reachability problem of a lossy channel machine, which is already known to be decidable. Moreover, we can show that the decision problem of k-bounded TSO-to-SC linearizability has non-primitive recursive complexity.
This work is partially supported by the National Natural Science Foundation of China under Grants No. 60721061, No. 60833001, No. 61272135, No. 61572478, No. 61700073, No. 61100069, No. 61472405, and No. 61161130530.
ISBN:9783662491911
3662491915
ISSN:0302-9743
1611-3349
DOI:10.1007/978-3-662-49192-8_33