diff options
author | David Matlack <dmatlack@google.com> | 2022-06-22 22:27:03 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-24 11:51:58 +0300 |
commit | 81cb4657e9f0d931216fc22966ddf68a5151a206 (patch) | |
tree | ab9655d3b95db761b4f5d2ea743b1b01673f5955 /net | |
parent | 2ff9039a75a8c19fbbcef7fe74ea61a10e4639f3 (diff) | |
download | linux-81cb4657e9f0d931216fc22966ddf68a5151a206.tar.xz |
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 'net')
0 files changed, 0 insertions, 0 deletions