Microsoft Windows Question:
Download Questions PDF

Why are page sizes always powers of 2?


Recall that paging is implemented by breaking up an address into a page and offset number. It is most efficient to break the address into X page bits and Y offset bits, rather than perform arithmetic on the address to calculate the page number and offset. Because each bit position represents a power of 2, splitting an address between bits results in a page size that is a power of 2.

Download Windows Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between Hard and Soft real-time systems?On a system with paging, a process cannot access memory that it does not own why? How could the operating system allow access to other memory? Why should it or should it not?