开发者

what is the page table size for a 32-bit process?

开发者 https://www.devze.com 2023-01-10 20:24 出处:网络
If the page size for a process is 4096 bytes what should 开发者_运维百科be its page table size that it keeps for mapping virtual addresses to physical storage?A 32 bits process can allocate up to 4G b

If the page size for a process is 4096 bytes what should 开发者_运维百科be its page table size that it keeps for mapping virtual addresses to physical storage?


A 32 bits process can allocate up to 4G bytes = 1M pages @ 4K. So, a process may need up to one million entries in the page table(s). The page table architecture varies quite a bit between processors, so it's hard to give a more precise answer to such a generic question.

0

精彩评论

暂无评论...
验证码 换一张
取 消