• Babu Moger's avatar
    KVM: SVM: Implement pause loop exit logic in SVM · 8566ac8b
    Babu Moger authored
    Bring the PLE(pause loop exit) logic to AMD svm driver.
    
    While testing, we found this helping in situations where numerous
    pauses are generated. Without these patches we could see continuos
    VMEXITS due to pause interceptions. Tested it on AMD EPYC server with
    boot parameter idle=poll on a VM with 32 vcpus to simulate extensive
    pause behaviour. Here are VMEXITS in 10 seconds interval.
    
    Pauses                  810199                  504
    Total                   882184                  325415
    Signed-off-by: default avatarBabu Moger <babu.moger@amd.com>
    [Prevented the window from dropping below the initial value. - Radim]
    Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
    8566ac8b
x86.h 8.16 KB