]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: X86: Fix comments in update_permission_bitmask
authorLai Jiangshan <jiangshan.ljs@antgroup.com>
Fri, 11 Mar 2022 07:03:42 +0000 (15:03 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 2 Apr 2022 09:34:42 +0000 (05:34 -0400)
commit8a7726ce308766ff7732198c5769adb864ca36f1
tree1d6d72ddffc577e7092c3106b77a977280a2f9af
parente193757be10a6df3fc89e35c932b9a3dc32658d5
KVM: X86: Fix comments in update_permission_bitmask

The commit 67fc7b2f1473 ("KVM: MMU: speedup update_permission_bitmask")
refactored the code of update_permission_bitmask() and change the
comments.  It added a condition into a list to match the new code,
so the number/order for conditions in the comments should be updated
too.

Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Message-Id: <20220311070346.45023-3-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c