Message ID | 20160521114443.2110-1-andrea.gelmini@gelma.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/Documentation/virtual/kvm/locking.txt b/Documentation/virtual/kvm/locking.txt index 19f94a6..f2491a8 100644 --- a/Documentation/virtual/kvm/locking.txt +++ b/Documentation/virtual/kvm/locking.txt @@ -89,7 +89,7 @@ In mmu_spte_clear_track_bits(): old_spte = *spte; /* 'if' condition is satisfied. */ - if (old_spte.Accssed == 1 && + if (old_spte.Accessed == 1 && old_spte.W == 0) spte = 0ull; on fast page fault path: @@ -102,7 +102,7 @@ In mmu_spte_clear_track_bits(): old_spte = xchg(spte, 0ull) - if (old_spte.Accssed == 1) + if (old_spte.Accessed == 1) kvm_set_pfn_accessed(spte.pfn); if (old_spte.Dirty == 1) kvm_set_pfn_dirty(spte.pfn);
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> --- Documentation/virtual/kvm/locking.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)