What is page table entry size?

前端 未结 7 1228
灰色年华
灰色年华 2020-12-24 16:00

I found this example.

Consider a system with a 32-bit logical address space. If the page size in such a system is 4 KB (2^12), then a page table may

7条回答
  •  离开以前
    2020-12-24 16:15

    Honestly a bit new to this myself, but to keep things short it looks like 4MB comes from the fact that there are 1 million entries (each PTE stores a physical page number, assuming it exists); therefore, 1 million PTE's, which is 2^20 = 1MB. 1MB * 4 Bytes = 4MB, so each process will require that for their page tables.

提交回复
热议问题