Title :
Kernel data race detection using debug register in Linux
Author :
Yunyun Jiang ; Yi Yang ; Tian Xiao ; Tianwei Sheng ; Wenguang Chen
Author_Institution :
Dept. of Comput. Sci. & Technol., Tsinghua Univ., Beijing, China
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.
Keywords :
Linux; operating system kernels; parallel programming; program debugging; Linux; OS kernel level races; commodity processors; dynamic detection approach; hardware debug registers; kernel data race detection; parallel programs; Computer architecture; Computer bugs; Hardware; Instruction sets; Kernel; Linux; Registers; Linux kernel; data race detection; debug register; sample; synchronization;
Conference_Titel :
COOL Chips XVII, 2014 IEEE
Conference_Location :
Yokohama
DOI :
10.1109/CoolChips.2014.6842953