diff options
author | 2022-06-22 15:27:03 -0400 | |
---|---|---|
committer | 2022-06-24 04:51:58 -0400 | |
commit | 81cb4657e9f0d931216fc22966ddf68a5151a206 (patch) | |
tree | ab9655d3b95db761b4f5d2ea743b1b01673f5955 /include/linux/kvm_types.h | |
parent | KVM: x86/mmu: Decouple rmap_add() and link_shadow_page() from kvm_vcpu (diff) | |
download | wireguard-linux-81cb4657e9f0d931216fc22966ddf68a5151a206.tar.xz wireguard-linux-81cb4657e9f0d931216fc22966ddf68a5151a206.zip |
KVM: x86/mmu: Update page stats in __rmap_add()
Update the page stats in __rmap_add() rather than at the call site. This
will avoid having to manually update page stats when splitting huge
pages in a subsequent commit.
No functional change intended.
Reviewed-by: Ben Gardon <bgardon@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220516232138.1783324-17-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/kvm_types.h')
0 files changed, 0 insertions, 0 deletions