Consider A Memory Of Size 16kb 16 384 Bytes That Allows Dynamic Variable Sized Partitioning Among Processes And Uses 1 (38.35 KiB) Viewed 22 times
Consider A Memory Of Size 16kb 16 384 Bytes That Allows Dynamic Variable Sized Partitioning Among Processes And Uses 2 (26.56 KiB) Viewed 22 times
Consider a memory of size 16KB (16,384 bytes) that allows dynamic, variable sized partitioning among processes and uses a linked list to keep track of free spaces (hereafter referred to as the free list) in the memory at any given time. Assume that there are 6 processes and assume that their memory size requirements (in bytes) are as given below: P1: 600, P2: 500, P3: 350, P4: 1000, P5: 1900, P6: 2180 Assume that the initial state of the free list is as shown below, where BA is the base address and Sz is the size of the free space: BA: 300; Sz: 250→BA: 800; Sz: 1400 BA: 2700; Sz: 600 BA: 4000; Sz: 1400 Assume that the first fit policy is used for partition placement. Identify the base address of the region to which each of the following processes will be allocated, assuming that they are allocated in the order in which they are listed below and show the updated free list state after each allocation. If a partition cannot be allocated due to the state of the free list, simply indicate "cannot be allocated" as your answer. a) P4 P4 is allocated, what is the BA?
if P4 is allocated, what is the BA? The updated free list is: BA: b) P1 BA: The updated free list is: If P1 is allocated, what is the BA? Sz: ; Sz: :Sz: ; Sz: →BA: →BA: →BA: →BA: ; Sz Sz: ; Sz: ; Sz <→BA: →BA:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!