722d7ca744
Right now, each vdso call triggers vmexit. VDSO and VVAR pages are mapped with VM_IO and get_user_pages fails for such vma-s. KVM was not able to handle this case up to the v4.8 kernel. This problem was fixed by add6a0cd1c5ba ("KVM: MMU: try to fix up page faults before giving up"). For some unknown reasons, it still doesn't work in case of nested virtualization. Before: BenchmarkKernelVDSO-6 252519 4598 ns/op After: BenchmarkKernelVDSO-6 34431957 34.91 ns/op PiperOrigin-RevId: 405715941 |
||
---|---|---|
.. | ||
BUILD | ||
cpu_amd64.s | ||
cpuid.go | ||
cpuid_arm64.go | ||
cpuid_arm64_test.go | ||
cpuid_parse_x86_test.go | ||
cpuid_x86.go | ||
cpuid_x86_test.go |