Reputation: 11
Is the size of a Page Table Entry is dependent on the total size of the logical / virtual memory space of a process?
Upvotes: 1
Views: 1145
Reputation: 58825
No, the size and format of a page table entry is generally fixed by the hardware and is always the same. For example on x86-32 a page table entry is always 4 bytes, with the following layout (image by Alboin via OSDev Wiki):
Of course, a process occupying more virtual memory will use a larger number of page table entries, since it will have more page tables that are marked present. But the size of each one will still be 4 bytes.
Upvotes: 5