diff options
| author | Sean Christopherson <[email protected]> | 2021-03-30 17:49:41 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-04-17 08:30:56 -0400 |
| commit | 6d9aafb96d5f665d038229e7561388c38430b3a8 (patch) | |
| tree | 333e8559f30fbb126350ee85a76cfe864dd0b379 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6dfbd6b5d5de19bad36f44710359200f21191134 (diff) | |
KVM: x86/mmu: Remove spurious clearing of dirty bit from TDP MMU SPTE
Don't clear the dirty bit when aging a TDP MMU SPTE (in response to a MMU
notifier event). Prematurely clearing the dirty bit could cause spurious
PML updates if aging a page happened to coincide with dirty logging.
Note, tdp_mmu_set_spte_no_acc_track() flows into __handle_changed_spte(),
so the host PFN will be marked dirty, i.e. there is no potential for data
corruption.
Fixes: a6a0b05da9f3 ("kvm: x86/mmu: Support dirty logging for the TDP MMU")
Cc: Ben Gardon <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions