admin管理员组文章数量:1431918
Lets say we have two queues: priority 1 with Round Robin and priority 2 with Shortest Remaining Time First.
At time 0, process A with a 10 units CPU burst is in SRTF queue. It starts excecuting, and at time 2, process B with 12 units CPU burst arrives at RR queue.
When process B arrives at RR, it is a higher priority process than the currently executing process A. Does the scheduler let process A run its remaining burst, or does it preempt it to run process B?
Silberchaltz's Operating Systems Concepts states that "A process that arrives in queue 1 will preempt a process in queue 2" but I don't clearly understand if it means it can preempt a process in the middle of execution or only if it's sitting in the queue.
本文标签:
版权声明:本文标题:linux - In a multilevel queue scheduler, will higher priority processes preempt already-running lower priority ones? - Stack Ove 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745594400a2665387.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论