• Peter Xu's avatar
    KVM: No need to retry for hva_to_pfn_remapped() · 5b494aea
    Peter Xu authored
    hva_to_pfn_remapped() calls fixup_user_fault(), which has already
    handled the retry gracefully.  Even if "unlocked" is set to true, it
    means that we've got a VM_FAULT_RETRY inside fixup_user_fault(),
    however the page fault has already retried and we should have the pfn
    set correctly.  No need to do that again.
    Signed-off-by: default avatarPeter Xu <peterx@redhat.com>
    Message-Id: <20200416155906.267462-1-peterx@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    5b494aea
kvm_main.c 117 KB