Linux中使用调试寄存器的内核数据争用检测

Yunyun Jiang, Yi Yang, Tian Xiao, Tianwei Sheng, Wenguang Chen
{"title":"Linux中使用调试寄存器的内核数据争用检测","authors":"Yunyun Jiang, Yi Yang, Tian Xiao, Tianwei Sheng, Wenguang Chen","doi":"10.1109/CoolChips.2014.6842953","DOIUrl":null,"url":null,"abstract":"Data races in parallel programs are notoriously difficult to detect and resolve. Existing research has mostly focused on data race detection at the user level and significant progress has been made in this regard. It is difficult to apply detection methods designed for user-level applications to identify OS kernel level races. In this paper, we present a new detection tool that is able to effectively detect race conditions in the Linux kernel environment. We use a dynamic detection approach, employing hardware debug registers available on commodity processors, to catch races on the fly during runtime. Preliminary experimental results show that our tool can effectively identify real data race instances.","PeriodicalId":366328,"journal":{"name":"2014 IEEE COOL Chips XVII","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-04-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Kernel data race detection using debug register in Linux\",\"authors\":\"Yunyun Jiang, Yi Yang, Tian Xiao, Tianwei Sheng, Wenguang Chen\",\"doi\":\"10.1109/CoolChips.2014.6842953\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Data races in parallel programs are notoriously difficult to detect and resolve. Existing research has mostly focused on data race detection at the user level and significant progress has been made in this regard. It is difficult to apply detection methods designed for user-level applications to identify OS kernel level races. In this paper, we present a new detection tool that is able to effectively detect race conditions in the Linux kernel environment. We use a dynamic detection approach, employing hardware debug registers available on commodity processors, to catch races on the fly during runtime. Preliminary experimental results show that our tool can effectively identify real data race instances.\",\"PeriodicalId\":366328,\"journal\":{\"name\":\"2014 IEEE COOL Chips XVII\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2014-04-14\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2014 IEEE COOL Chips XVII\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CoolChips.2014.6842953\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 IEEE COOL Chips XVII","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CoolChips.2014.6842953","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

摘要

众所周知,并行程序中的数据竞争很难检测和解决。现有的研究主要集中在用户层面的数据竞态检测,并在这方面取得了重大进展。应用为用户级应用程序设计的检测方法来识别操作系统内核级竞争是很困难的。在本文中,我们提出了一种新的检测工具,能够有效地检测Linux内核环境中的竞态条件。我们使用一种动态检测方法,利用商用处理器上可用的硬件调试寄存器,在运行时捕捉动态竞争。初步的实验结果表明,该工具可以有效地识别真实的数据竞争实例。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Kernel data race detection using debug register in Linux
Data races in parallel programs are notoriously difficult to detect and resolve. Existing research has mostly focused on data race detection at the user level and significant progress has been made in this regard. It is difficult to apply detection methods designed for user-level applications to identify OS kernel level races. In this paper, we present a new detection tool that is able to effectively detect race conditions in the Linux kernel environment. We use a dynamic detection approach, employing hardware debug registers available on commodity processors, to catch races on the fly during runtime. Preliminary experimental results show that our tool can effectively identify real data race instances.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信