]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Revert "KVM: x86: Mark GPRs dirty when written"
authorSean Christopherson <seanjc@google.com>
Fri, 22 Jan 2021 23:50:48 +0000 (15:50 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 25 Jan 2021 23:52:10 +0000 (18:52 -0500)
commit0e59db0d35c2c15154819d1fc205f254def6ad61
treed8895ae1738286d954bbe15668e6816a99d057a4
parent78090c442b9229ebae38330ef366e6eb3a8c63ac
KVM: x86: Revert "KVM: x86: Mark GPRs dirty when written"

Revert the dirty/available tracking of GPRs now that KVM copies the GPRs
to the GHCB on any post-VMGEXIT VMRUN, even if a GPR is not dirty.  Per
commit 1f2eea6544f1 ("KVM: x86: Omit caching logic for always-available
GPRs"), tracking for GPRs noticeably impacts KVM's code footprint.

This reverts commit 55a9cce28c599c5402876834f8eb5856ce1782f5.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210122235049.3107620-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/kvm_cache_regs.h