ANONYMOUS wrote:
> For Project 2, once you get to the last page of a process, does it resolve so you should remove all the pages associated with that process from RAM? So for a sample of 0 0 0 0, should you end with 4 pages of the process in RAM (whole thing twice),
You should have 4 pages in RAM.
> ....Either that, or the process tables need to be made more complex.
> Thanks in advance
I'm not sure if I understand your question but if you exceed the number of pages for a process you likely would need to evict the first loaded page for that process and replace it with the new process. In the end this just ends up removing pg0 and then adding a new pg0 for that process. So, the only change would be an update to the load time of page 0. i.e. If you push 0 0 0 0 onto RAM, you have pg. 0,1,2,3 on RAM. When another zero is read RAM would be still be 0 0 0 0, except the first page's last load time is updated.