Banking Algorithm Cont.
l Step 3: For each service class
Compare total allocation to desired
Subtract from over-allocated
Add to needy & under-allocated
l Step 4: For each service class
Deposit / Withdraw
If still over-allocated withdraw
If still under-allocated deposit