Commit b1a8d2b
KVM: x86/mmu: Fix and clarify comments about clearing D-bit vs. write-protecting
Drop the "If AD bits are enabled/disabled" verbiage from the comments
above kvm_tdp_mmu_clear_dirty_{slot,pt_masked}() since TDP MMU SPTEs may
need to be write-protected even when A/D bits are enabled. i.e. These
comments aren't technically correct.
No functional change intended.
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20240315230541.1635322-4-dmatlack@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent feac19a commit b1a8d2b
1 file changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1594 | 1594 | | |
1595 | 1595 | | |
1596 | 1596 | | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
1600 | | - | |
1601 | | - | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
1602 | 1600 | | |
1603 | 1601 | | |
1604 | 1602 | | |
| |||
1656 | 1654 | | |
1657 | 1655 | | |
1658 | 1656 | | |
1659 | | - | |
1660 | | - | |
1661 | | - | |
1662 | | - | |
1663 | | - | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
1664 | 1660 | | |
1665 | 1661 | | |
1666 | 1662 | | |
| |||
0 commit comments