Question: Assume there is an initial 1 MB memory free and the memory is allocated using the buddy system. Note that the smaller block of memory

Assume there is an initial 1MB memory free and the memory is allocated using the buddy system. Note that the smaller block of memory once released will coalesce into bigger blocks wherever it fits the coalescing policy of buddy system.
1. Request 100K (A), then 240K (B) and 64K (C)(illustrated already)
2. Request 200K (D)
3. Request 50K (E)
4. Request 140k (F)
5. Release E
6. Release C
7. Release F
How many partitions will it have at the end of step 7?(used and unused)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!