不要骑墙观望:自动插入栅栏的静态分析方法
Don't sit on the fence: A static analysis approach to automatic fence insertion
摘要:
现代体系结构依赖于内存围栏来防止内存一致性的不必要的削弱。由于栅栏的语义可能很微妙,因此非常需要自动放置栅栏。但是,用于恢复一致性的精确方法不能扩展到部署的系统代码。我们选择用一些精度来换取真正的可伸缩性:我们的技术适用于大型代码库。我们在新的musketeer工具中实现了它,并在Debian Linux 7.1中发现的350多个可执行程序包上进行了详细的实验,例如memcached(大约10000 LoC)。
英文摘要:
Modern architectures rely on memory fences to prevent undesired weakenings of memory consistency. As the fences' semantics may be subtle, the automation of their placement is highly desirable. But precise methods for restoring consistency do not scale to deployed systems code. We choose to trade some precision for genuine scalability: our technique is suitable for large code bases. We implement it in our new musketeer tool, and detail experiments on more than 350 executables of packages found in Debian Linux 7.1, e.g. memcached (about 10000 LoC).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。