Consider I have a user program of 6 pages and 4 byte page size. Now my memory has 300 frames out of which 10 frames are free for allocation. Can the OS allocate page 1 of the given process to any of these 10 frames or is there any specific algorithm to select a frame?
1 Answer
That's entirely up to the OS, and different OS's may have different strategies. In principle, the OS could assign any frame it wants.
-
$\begingroup$ Thanks it was the solution i found as well. $\endgroup$– Owl0223Jan 22, 2022 at 17:32