A computer has 32-bit virtual addresses and the page size is 2^7 KB. Suppose the text, data, and stack segments of a pro
Posted: Tue Apr 12, 2022 10:26 am
A computer has 32-bit virtual addresses and the page size is 2^7
KB. Suppose the text, data, and stack segments of a process need 5
page(s) each.
If the computer uses two-level page tables, with 5 bits for the
second-level index, how many second-level page tables are needed to
cover the text, data, and stack segments of the process?
*Note that the text and data segments are contiguous in the
process's address space, but the stack is at the other end of the
address space.
KB. Suppose the text, data, and stack segments of a process need 5
page(s) each.
If the computer uses two-level page tables, with 5 bits for the
second-level index, how many second-level page tables are needed to
cover the text, data, and stack segments of the process?
*Note that the text and data segments are contiguous in the
process's address space, but the stack is at the other end of the
address space.