Deadlock Recovery

|

  • Process Termination
    =>Abort all deadlocked processes:
    1.)Fast
    2.)A lot of process work is lost.
    =>Abort one deadlocked process at a time and check for deadlocks again:
    1.)More work to resolve a deadlock.
    2.)Better in terms of process work.
    3.)What is a good order to abort processes?
  • Resource Preemption
    =>what is a good way to select a victim
    =>How can we rollback and then recover from preemption?
    =>How can we protect from starvation

What can the system do if it discovers a deadlock?

0 comments:

Post a Comment