CS 372 Operating Systems
![]() |
Given the following memory state, requests, and
algorithms show
the state of memory after each request. If the current state cannot
accommodate a request, perform process relocation (for a growing
process) or compaction. For relocation, follow the specified
algorithm. For compaction, first find (top down) a process with holes
on both
sides of it. If the two holes are sufficient to accommodate the new
process, move up the middle process in the hole. Otherwise, compact
all processes up until there is large enough hole to accommodate the
request.
|