Question: Consider the following free - list structure: [ 1 0 0 , 1 5 0 ] [ 2 1 0 , 3 0 0 ]
Consider the following freelist structure:
Assume:
On allocation, we just modify a node in the freelist and never move it If the entire node
is allocated, then the node obviously gets deleted.
On deallocation, the memory is returned to the end of the list.
Answer the following two questions:
Using a bestfit strategy, we allocate the following in the given order: bytes process A
bytes process B bytes process C bytes process D bytes process E and
bytes process
A State the memory start address for each process.
B What is the structure of the free list after the allocations are completed?
What will be the structure of the freelist if these processes are deallocated in the reverse
order of how they were allocated?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
