Let's assume that the kernel assigns the linear address space between 0x20000000 and 0x2003ffff to a running process.
This space consists of exactly 64 pages.
1page=4KB
64pages=64*4KB=2^6*2^2*2^10=2^18
0x3 f f f f
0011 1111 1111 1111 1111 = 2^18
本文探讨了64页内存空间从0x20000000到0x2003ffff的线性地址分配过程,详细解释了如何计算此范围内页数并举例说明。
3167

被折叠的 条评论
为什么被折叠?



