0
$\begingroup$

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?

$\endgroup$
1
  • $\begingroup$ I find it hard to believe that you can run any kind of OS in 300 frames of 4 bytes each. $\endgroup$
    – gnasher729
    Nov 29, 2021 at 11:10

1 Answer 1

1
$\begingroup$

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.

$\endgroup$
1
  • $\begingroup$ Thanks it was the solution i found as well. $\endgroup$
    – Owl0223
    Jan 22, 2022 at 17:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.