[PATCH v2 15/26] KVM: x86/mmu: Update page stats in __rmap_add()

Peter Xu peterx at redhat.com
Tue Mar 15 03:39:11 PDT 2022


On Fri, Mar 11, 2022 at 12:25:17AM +0000, David Matlack wrote:
> 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 at google.com>
> Signed-off-by: David Matlack <dmatlack at google.com>

Reviewed-by: Peter Xu <peterx at redhat.com>

-- 
Peter Xu




More information about the kvm-riscv mailing list