驯服x86-TSO持久性(扩展版)
Taming x86-TSO Persistency (Extended Version)
摘要:
我们研究了非易失性存储器在x86-TSO体系结构的形式语义。我们表明,虽然Raad等人最近的模型中的显式持久化操作。从POPL'20只强制执行写入非易失性存储器之间的顺序,但就可达状态而言,它相当于一个模型,其显式持久化操作要求先前的写入实际上被写入非易失性存储器。后者提供了一种新颖的模型,更接近于普通开发人员对持久化语义的理解。我们进一步介绍了一个更简单,更强大的顺序一致的持久化模型,开发一个健全的映射从这个模型到x86,并建立一个数据竞争自由保证程序员提供一个安全的编程纪律。我们的操作模型是伴随着等价的声明式配方,这有利于我们的正式参数,并可能被证明是有用的x86持久化下的程序验证。
英文摘要:
We study the formal semantics of non-volatile memory in the x86-TSO architecture. We show that while the explicit persist operations in the recent model of Raad et al. from POPL'20 only enforce order between writes to the non-volatile memory, it is equivalent, in terms of reachable states, to a model whose explicit persist operations mandate that prior writes are actually written to the non-volatile memory. The latter provides a novel model that is much closer to common developers' understanding of persistency semantics. We further introduce a simpler and stronger sequentially consistent persistency model, develop a sound mapping from this model to x86, and establish a data-race-freedom guarantee providing programmers with a safe programming discipline. Our operational models are accompanied with equivalent declarative formulations, which facilitate our formal arguments, and may prove useful for program verification under x86 persistency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。