首页 | 本学科首页   官方微博 | 高级检索  
     

优先级继承协议在Linux中的实现
引用本文:厉海燕,赵志国.优先级继承协议在Linux中的实现[J].计算机工程与设计,2005,26(6):1411-1415.
作者姓名:厉海燕  赵志国
作者单位:装备指挥技术学院,北京,101416;国防科技信息中心,北京,100038
基金项目:国家863高技术研究发展基金项目(2003AA1Z2050)。
摘    要:随着Linux被越来越多地用于实时系统中,实时性能也日益受到关注。通过将Linux的内核改造为可抢占式内核,可缩短系统的响应延时,提高Linux的实时性,但同时也带来了优先级逆转的问题。为了解决优先级逆转问题,基于可抢占式的Linux内核,对Linux内核相关源代码进行修改,实现了优先级继承协议。经过测试证明,采用优先级继承协议的抢占式Linux内核能够解决优先级逆转的问题,满足系统的实时要求。

关 键 词:抢占  优先级逆转  优先级继承  互斥锁
文章编号:1000-7024(2005)06-1411-05

Implementation of priority inheritance protocol in Linux
LI Hai-yan,ZHAO Zhi-guo.Implementation of priority inheritance protocol in Linux[J].Computer Engineering and Design,2005,26(6):1411-1415.
Authors:LI Hai-yan  ZHAO Zhi-guo
Affiliation:LI Hai-yan 1,ZHAO Zhi-guo 2
Abstract:With the wide use of linux in real-time system, its real-timeperformance gets more and more focustoo. Through modification oflinux source codes, preemptivelinux kernel can reduce delayed time ofsystem response, and improve real-time performance of linux, but at the same time bring a problem of priority inversion. In order to solve the problem, based on preemptive linux kernel, priority inheritance protocol is plemented through modification of correlated linux source codes. By testing, it is proved that preemptive linux kernel which adopts priority inheritance protocol can solve the problem of priority inversion, and satisfies real-time demand of system.
Keywords:preempt  priority inversion  priority inheritance  mutex_lock  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号