Question
Consider the state transition diagram of the following figure. Suppose that it is time for the OS to dispatch a process and that there are
Consider the state transition diagram of the following figure. Suppose that it is time for the OS to dispatch a process and that there are processes in both the Ready state and the Ready/Suspend state, and that at least one process in the Ready/Suspend state has higher scheduling priority than any of the processes in the Ready state. Two extreme policies are followed:
a. Always dispatch from a process in the Ready state, to minimize swapping, and
b. Always give preference to the highest-priority process, even though that may mean swapping when swapping is not necessary.
* Suggest an intermediate policy that tries to balance the concerns of priority and performance.
New Activate Dispatch. Release Ready/ Suspend Running Exit Suspend Timeout Activate Blocked/ Suspend Blocked Suspend (b) With Two Suspend States Figure 3.9 Process State Transition Diagram with Suspend StatesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started