Reputation: 619
I was given a question in a quiz "A process size is 2^6+^2^12+2^23 bytes and total memory size of system is 4GB page size is 4k, how many page tables are there how many page directories and pages ? Assume that initially all memory was free ? How to solve this ?
Upvotes: 0
Views: 455
Reputation: 21617
Can a process have more then 1 page tables?
Yes, some systems use multiple page tables. On the VAX, e.g., each process has three page tables.
how many page tables are there
Entirely system specific
how many page directories
Entirely system specific. Some systems do not even use page directories.
how many [] pages
Add the page size to the process size and divide by the page size.
Upvotes: 1