]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Expand quadrant comment for PG_LEVEL_4K shadow pages
authorSean Christopherson <seanjc@google.com>
Tue, 12 Jul 2022 02:07:23 +0000 (02:07 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Jul 2022 15:31:24 +0000 (11:31 -0400)
commit6b907ab5a2c82bbdee9900166cb5bd7c0eb4b3d7
tree8ef53d549bf9426f53945f14b48dbb24eaa94d4b
parent1c2e0643c9ea1ed7dcb7f0f82f2c37c825541725
KVM: x86/mmu: Expand quadrant comment for PG_LEVEL_4K shadow pages

Tweak the comment above the computation of the quadrant for PG_LEVEL_4K
shadow pages to explicitly call out how and why KVM uses role.quadrant to
consume gPTE bits.

Opportunistically wrap an unnecessarily long line.

No functional change intended.

Link: https://lore.kernel.org/all/YqvWvBv27fYzOFdE@google.com
Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220712020724.1262121-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c