KVM: x86/mmu: fix comment about mmu_unsync_pages_lock
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 25 Nov 2023 08:34:00 +0000 (03:34 -0500)
committerSean Christopherson <seanjc@google.com>
Fri, 1 Dec 2023 15:52:09 +0000 (07:52 -0800)
commite59f75de4e501e87de7743fec29dd247a6ae6cd3
treebce69413327df7848a02783ded266dda35689c46
parent250ce1b4d21a94f910c3df5141ff6434ea92524e
KVM: x86/mmu: fix comment about mmu_unsync_pages_lock

Fix the comment about what can and cannot happen when mmu_unsync_pages_lock
is not help.  The comment correctly mentions "clearing sp->unsync", but then
it talks about unsync going from 0 to 1.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20231125083400.1399197-5-pbonzini@redhat.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/mmu/mmu.c