arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.01866cs.LOcs.PL
收藏

Causal Linearizability:部分有序执行的组合性

Causal Linearizability: Compositionality for Partially Ordered Executions

Simon Doherty, John Derrick, Brijesh Dongol, Heike Wehrheim

摘要:

在并发的交错模型中,事件是完全有序的,线性化是组合的:两个可线性化对象的组合保证是可线性化的。然而,当事件只是部分有序时,线性化不是组合的,就像在许多描述多核内存系统的弱内存模型中一样。在本文中,我们提出了因果线性化,并发对象实现弱记忆模型的正确性条件。我们通过使用Lamport的执行结构定义我们的条件来抽象特定内存模型的细节。我们将我们的条件应用到C11内存模型,为C11对象提供了一个正确性条件。我们开发了一种证明方法,用于验证C11和相关模型中实现的对象。我们的方法是一个适应基于模拟的方法,但与其他这样的方法相比,它不需要实现完全顺序的事件。我们还表明,因果线性化减少到全有序的情况下的线性化。

英文摘要:

In the interleaving model of concurrency, where events are totally ordered, linearizability is compositional: the composition of two linearizable objects is guaranteed to be linearizable. However, linearizability is not compositional when events are only partially ordered, as in many weak-memory models that describe multicore memory systems. In this paper, we present causal linearizability, a correctness condition for concurrent objects implemented in weak-memory models. We abstract from the details of specific memory models by defining our condition using Lamport's execution structures. We apply our condition to the C11 memory model, providing a correctness condition for C11 objects. We develop a proof method for verifying objects implemented in C11 and related models. Our method is an adaptation of simulation-based methods, but in contrast to other such methods, it does not require that the implementation totally order its events. We also show that causal linearizability reduces to linearizability in the totally ordered case.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑