J4

• 计算机科学 • Previous Articles     Next Articles

Study on Interrupt Mechanism in the Linux 2.6 Kernel

ZANG Xuebai, ZHAO Yali, WANG Qiushi, ZHENG Kai, CHEN Peng, ZHAO Hong wei   

  1. College of Computer Science and Technology, Jilin University, Changchun 130012, China
  • Received:2007-07-04 Revised:1900-01-01 Online:2008-05-26 Published:2008-05-26
  • Contact: ZHAO Hong wei

Abstract: A realtime improvement scheme of Linux 2.6 kernel is proposed on the basis of the method of controlling execution time of interrupt, this scheme can resolve the problem of long response time caused by frequent interrupts in the execution process of Linux realtime tasks. By analyzing Linux 2.6 kernel interrupt mechanism as well as the interruption mechanism of the kernel branded Ingo Molar realtime kernel patch, and arranging an appropriate execution time for interrupt by comparing with the current tasks realtime priority, the task’s realtime res ponse was realized. Experimental results show that the interrupt response time of improvementscheme is shorter than that of the kernel with branded Ingo Molar realtime kernel patch.

Key words: Linux, realtime performance, tasked interrupts, realtime priority

CLC Number: 

  • TP316