diff options
author | Sean Christopherson <seanjc@google.com> | 2024-10-10 11:23:38 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-25 12:59:08 -0400 |
commit | fcd366b95e6e356ae5069753938988b6c6286fa8 (patch) | |
tree | 7a0a75af48655d259880afbbc0c0a2bbe1b5fbc6 /scripts/lib/kdoc/kdoc_files.py | |
parent | 68e51d0a437b09dcef621b4cc8e4fe02605bf5c4 (diff) |
KVM: x86: Don't fault-in APIC access page during initial allocation
Drop the gfn_to_page() lookup when installing KVM's internal memslot for
the APIC access page, as KVM doesn't need to immediately fault-in the page
now that the page isn't pinned. In the extremely unlikely event the
kernel can't allocate a 4KiB page, KVM can just as easily return -EFAULT
on the future page fault.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20241010182427.1434605-37-seanjc@google.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions