Tags » Preemption

Starvation

Q1. Explain Deadlock Recovery Method of Starvation in Resource Preemption.

Ans. In a system where victim selection is based primarily on cost factors, it may happen that the same process is always picked as a victim. 47 more words

Recovery of Deadlock through Resource Preemption

Q3. Explain Recovery of Deadlock through Resource Preemption.

Ans. To eliminate deadlocks using resource preemption, we successively preempt some resources from processes and give them resources to other processes until the deadlock cycle is broken. 20 more words

Rollback

Q1. Explain Deadlock Recovery Method of Rollback in Resource Preemption.

Ans. If we preempt a resource from a process, what should be done with that process? 92 more words

Selecting a Victim

Q1. Explain Deadlock Recovery Method of Selecting Victim in Resource Preemption.

Ans. Which resources and which processes are to be preempted? As in process termination, we must determine the order of preemption to minimize cost. 31 more words

Methods of Deadlock Recovery

Q1. What are the processes of recovering from deadlock?

Ans. When a detection algorithm determines that a deadlock exists, several alternative. One is simplyto abort one or more processes to break the circular wait. 21 more words

No Preemption Condition

Q4. What is No Preemption Condition?

Ans. Resources cannot be per-empted, that is, the processes cannot be forced to give up the resources they are holding before completion.