在 x86-64 长模式下,最近的 Intel/AMD 微处理器是否允许 TLB 同时将 4K、2MB 和 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
但是我从来没有尝试过,所以在我开始编码之前,你能告诉我它是否有效吗?