LATX, opt: Check guest permissions before mixed host-page fallback
For i386 on 16K hosts, first prove that the current access has the required cached guest permission at both endpoints. Successful accesses can then bypass the mixed host-page lookup.
Keep each endpoint’s permission for the fallback. A denied permission still faults in software only on a mixed host page; unmixed pages retain the hardware permission check. Preserve the first inaccessible address and the LATX_MT=2 path.
Signed-off-by: Hanlu Li heuleehanlu@gmail.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号