1
在x86-64长模式下,最近的英特尔/ AMD微处理器是否允许TLB同时将页面4K,2MB和1GB(超大页面)的虚拟地址转换为物理地址?可以TLB同时映射4K,2M和1GB页面吗?
据我了解阅读说明书后,就可以,如果你设置:
bit PDPE.PS=1 in a few records in Page Directory Pointer Table to mark 1GB pages
bit PDPE.PS=0 and PDE.PS=1 in a few records in Page Directory Table to mark 2MB pages
bit PDPE.PS=0 and PDE.PS=0 in a few records in Page Directory Table to mark 4K pages
但我从来没有尝试过,所以我才开始编码,你能告诉我,如果它是否行得通呢?
当你发现一个磁盘驱动器,能够在几微秒的极少数啜2MB的页面,是的。 –