Pages In Virtual Address Space Equation

70 views Asked by At

I have been given the following problem to work out..but not sure I am on the right track..

If a virtual address of 2GB is divided into 4k pages how many pages would exist in the virtual address space.

I have worked it out that if 231 = 2GB and 212 would equal the 4k page size..

So if I take the 12 bits away from the 31 I would be left with 219 pages..

Is that right or am I way off the mark?

Any confirmation/direction (formula) would be appreciated!

0

There are 0 answers