paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A Load-Buffer Semantics for Total Store Ordering

Total Store Ordering(TSO)的 Load-Buffer 语义
LMCS vol.Volume 14, Issue 12018匹配度 1/10 · 论文研究 TSO 内存模型下并发程序的安全性验证,属于形式化验证/程序分析领域,但未涉及用户画像核心的 LLM/Agent 与静态分析交叉、浮点程序分析或贝叶斯程序分析。它与 AI→PL 方向仅有非常间接的“验证算法改进”关联,且没有 LLM/Agent 作为工具或对象。引用 23 inbox
Parosh Aziz Abdulla, Mohamed Faouzi Atig, Ahmed Bouajjani, Tuan Phong Ngo
crossref: 2026-09-10

AI 速览

一句话:提出 TSO 的 load-buffer 等价语义,简化安全性验证并支持参数化验证与高效算法。

论文研究 Total Store Ordering (TSO) 内存模型下并发程序的安全性验证。已有判定过程通常将 store buffer 编码为有损通道,并假设进程数固定,难以进行参数化验证。作者提出一种与经典 TSO 等价的 load-buffer 语义:信息从内存流向 load buffer,而非从进程写入 store buffer。基于该语义,安全性分析被大幅简化,验证效率和可扩展性显著优于现有过程,并能自然扩展到进程数任意大的参数化情形,从而得到新的可判定性结果和比有界实例更通用、更高效的验证算法。

问题
如何在 TSO 内存模型下验证并发程序的安全性,特别是突破既有 store-buffer 编码方法仅支持固定进程数的限制,实现参数化验证。
方法
提出与经典 TSO 等价的 load-buffer 语义,将信息流方向改为从内存到 load buffer,并基于此设计安全性分析与参数化验证判定过程。
评估
通过理论证明给出新的可判定性结果,并与现有基于 store-buffer 的有界实例过程比较,显示效率和可扩展性显著提升。
原文摘要(Abstract)

We address the problem of verifying safety properties of concurrent programs running over the Total Store Order (TSO) memory model. Known decision procedures for this model are based on complex encodings of store buffers as lossy channels. These procedures assume that the number of processes is fixed. However, it is important in general to prove the correctness of a system/algorithm in a parametric way with an arbitrarily large number of processes. In this paper, we introduce an alternative (yet equivalent) semantics to the classical one for the TSO semantics that is more amenable to efficient algorithmic verification and for the extension to parametric verification. For that, we adopt a dual view where load buffers are used instead of store buffers. The flow of information is now from the memory to load buffers. We show that this new semantics allows (1) to simplify drastically the safety analysis under TSO, (2) to obtain a spectacular gain in efficiency and scalability compared to existing procedures, and (3) to extend easily the decision procedure to the parametric case, which allows obtaining a new decidability result, and more importantly, a verification algorithm that is more general and more efficient in practice than the one for bounded instances.Comment: Logic in computer science

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot431,
  title = {A Load-Buffer Semantics for Total Store Ordering},
  author = {Parosh Aziz Abdulla and Mohamed Faouzi Atig and Ahmed Bouajjani and Tuan Phong Ngo},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 14, Issue 1},
  year = {2018},
  doi = {10.23638/lmcs-14(1:9)2018}
}