Outline for May 30, 2008
Reading:
Text
, §8, 9
Greetings and felicitations!
Disk directory
What blocks are in use, where files are, etc.
Free list implementations, bit maps
File maps: linked list, pairs
Allocation of Disk Blocks to Files
Contiguous allocation
Linked allocation
Indexed allocation
Network File System (NFS)
How it works
Protocol
Generation numbers
Deadlock
Resource manager, request, release
What is deadlock
Difference between it and starvation
Liberal, conservative, and serialization approaches to resource allocation
Resource types
Reusable
Consumable
How to Deal with Deadlock (Policies)
Ignore
Detection and recovery
Prevention: mutual exclusion, no preemption, circular wait, hold and wait
Avoidance
Deadlock Recovery
Breaking circular wait
Break no preemption (i.e., allow preemption)
Deadlock Prevention
Single-programming environment
Hierarchical ordering (ordered resource) policy
Acquire all resources before running
Maximum claim techniques
Deadlock Avoidance
Banker’s Algorithm
You can also obtain a PDF version of this.
Version of May 30, 2008 at 7:03 AM