]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Consolidate comments about {Host,MMU}-writable
authorDavid Matlack <dmatlack@google.com>
Tue, 25 Jan 2022 23:07:23 +0000 (23:07 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:50:33 +0000 (13:50 -0500)
commit97bab6a3e55e3a22d46510b563bce283e3d8fc6c
treeb1936db4478f607a98f0060434e2b0142ba61054
parent3c68aa05b368954c8dc9b0c960121b9db7baff88
KVM: x86/mmu: Consolidate comments about {Host,MMU}-writable

Consolidate the large comment above DEFAULT_SPTE_HOST_WRITABLE with the
large comment above is_writable_pte() into one comment. This comment
explains the different reasons why an SPTE may be non-writable and KVM
keeps track of that with the {Host,MMU}-writable bits.

No functional change intended.

Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220125230723.1701061-1-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/spte.h