摘要
在Linux系统中,优先级反转问题可能会造成系统崩溃。优先级反转使得高优先级任务的执行时间无法预测,增加了实时系统的不确定性,而优先级继承协议(PIP)很好地解决优先级反转问题。文章在对PIP协议进行分析的基础上,利用加权平均的思想,形成了加权平均PIP算法。它可以用来进行线程调度,改善系统的实时性。
In the Linux system, the problem of priority inversion may cause systems to crash. The execution time of the high priority task cannot be predicted because of priority inversion, and the uncertainty of the real-time system is increased. PIP(priority inheritance protocol) is a good solution to the priority inversion problem. In this paper, the idea of weighted average value, with PIP, forms a weighted average PIP algorithm, which can be used for thread scheduling, improving the real-time performance of the system.
出处
《湖南邮电职业技术学院学报》
2016年第2期26-28,共3页
Journal of Hunan Post and Telecommunication College
基金
湖南省教育科学规划课题
课题批准号:xjk012czj016
关键词
加权平均值
PIP
线程调度
优先级反转
weighted average value
PIP
thread scheduling
priority inversion