OSDN Git Service

KVM: x86/mmu: Add comment on __tdp_mmu_set_spte
authorBen Gardon <bgardon@google.com>
Tue, 2 Feb 2021 18:57:08 +0000 (10:57 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 10:27:38 +0000 (05:27 -0500)
commitfe43fa2f407b9d513f7bcf18142e14e1bf1508d6
treeeb4ba40c72e5fcdbae0e120fb964992393b1e30d
parente28a436ca4f65384cceaf3f4da0e00aa74244e6a
KVM: x86/mmu: Add comment on __tdp_mmu_set_spte

__tdp_mmu_set_spte is a very important function in the TDP MMU which
already accepts several arguments and will take more in future commits.
To offset this complexity, add a comment to the function describing each
of the arguemnts.

No functional change intended.

Reviewed-by: Peter Feiner <pfeiner@google.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20210202185734.1680553-3-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.c