arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1604.06734cs.DC
收藏

因果线性化

Causal Linearizability

Simon Doherty, John Derrick

摘要:

大多数关于共享内存的并发对象的验证工作都假设顺序一致性,但大多数多核处理器只支持不提供顺序一致性的弱内存模型。此外,大多数验证工作都集中在并发对象的线性化上,但是现有的实现被优化为在不可线性化的弱内存模型上运行。在本文中,我们解决这些问题,通过引入因果线性化,并发对象运行在弱内存模型的正确性条件。像线性化本身一样,因果线性化允许在对客户端行为的弱约束下组合并发对象。我们指定这些限制,通过引入一个概念的操作种族自由,在那里的程序,满足此属性的行为保证,如果他们的共享对象实际上是线性化的。我们将这些想法应用于Linux内核中的对象,这些对象经过优化以在x86处理器系列的内存模型TSO上运行。

英文摘要:

Most work on the verification of concurrent objects for shared memory assumes sequential consistency, but most multicore processors support only weak memory models that do not provide sequential consistency. Furthermore, most verification efforts focus on the linearizability of concurrent objects, but there are existing implementations optimized to run on weak memory models that are not linearizable. In this paper, we address these problems by introducing causal linearizability, a correctness condition for concurrent objects running on weak memory models. Like linearizability itself, causal linearizability enables concurrent objects to be composed, under weak constraints on the client's behaviour. We specify these constraints by introducing a notion of operation-race freedom, where programs that satisfy this property are guaranteed to behave as if their shared objects were in fact linearizable. We apply these ideas to objects from the Linux kernel, optimized to run on TSO, the memory model of the x86 processor family.

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

↑