STACK-BASED SCHEDULING OF REALTIME PROCESSES

被引:366
作者
BAKER, TP [1 ]
机构
[1] FLORIDA STATE UNIV,DEPT COMP SCI,TALLAHASSEE,FL 32306
关键词
D O I
10.1007/BF00365393
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The Priority Ceiling Protocol (PCP) of Sha, Rajkumar and Lehoczky is a policy for locking binary semaphores that bounds priority inversion (i.e., the blocking of a job while a lower priority job executes), and thereby improves schedulability under fixed priority preemptive scheduling. We show how to extend the PCP to handle: multiunit resources, which subsume binary semaphores and reader-writer locks; dynamic priority schemes, such as earliest-deadline-first (EDF), that use static "preemption levels"; sharing of runtime stack space between jobs. These extensions can be applied independently, or together. The Stack Resource Policy (SRP) is a variant of the SRP that incorporates the three extensions mentioned above, plus the conservative assumption that each job may require the use of a shared stack. This avoids unnecessary context switches and allows the SRP to be implemented very simply using a stack. We prove a schedulability result for EDF scheduling with the SRP that is tighter than the one proved previously for EDF with a dynamic version of the PCP. The Minimal SRP (MSRP) is a slightly more complex variant of the SRP, which has similar properties, but imposes less blocking. The MSRP is optimal for stack sharing systems, in the sense that it is the least restrictive policy that strictly bounds priority inversion and prevents deadlock for rate monotone (RM) and earliest-deadline-first (EDF) scheduling.
引用
收藏
页码:67 / 99
页数:33
相关论文
共 29 条
[1]  
BAKER TP, 1990, 7TH P IEEE WORKSH RE, P44
[2]  
BAKER TP, 1989, FIXED POINT APPROACH
[3]  
BAKER TP, 1986, IEEE SOFTWARE MAY, P50
[4]  
BAKER TP, 1990, P IEEE REAL TIME SYS
[5]  
BAKER TP, 1989, PRACTICAL TASKING
[6]  
Bic L., 1988, LOGICAL DESIGN OPERA
[7]  
BORGER MW, 1989, IMPLEMENTING PRIORIT
[8]  
CHEN MI, 1989, UIUCDCSR891511 U ILL
[9]  
Coffman Jr E. G., 1973, OPERATING SYSTEMS TH
[10]  
Garey M.R., 1979, COMPUTERS INTRACTABI, V174