I'm studying operating systems and I have a question about page tables.
I came across this question where it asks how the page table size and entry size changes when the size of the page changes. Say the size of a page is reduced from 8KB to 4KB. Now, my guess is that the size of the page table will be doubled, because now the paging system needs twice as more entries to map the pages to frames.
But for the size of the page table entry, I am not so sure. My guess is that the page table entry will be smaller because the physical address it contains is shorter. This is because the physical address is determined by the page/frame size, and if the page size is smaller, the length of the physical address will be 2^-1 shorter as well.
But is this a good assumption? Is the size of the page table entry determined by the length of the address? Or, is the entry size fixed, regardless of the size of each frame/page? I can't seem to find resources / questions specifically regarding the entries.
Thank you!