diff options
author | 2024-10-10 19:10:48 -0700 | |
---|---|---|
committer | 2024-10-30 15:25:39 -0700 | |
commit | 85649117511ddf9971e4759fe8ac9fbb69ad5064 (patch) | |
tree | 70dfebee21f6d268d66a0404678cf823d85b8f35 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: x86/mmu: Dedup logic for detecting TLB flushes on leaf SPTE changes (diff) | |
download | wireguard-linux-85649117511ddf9971e4759fe8ac9fbb69ad5064.tar.xz wireguard-linux-85649117511ddf9971e4759fe8ac9fbb69ad5064.zip |
KVM: x86/mmu: Set Dirty bit for new SPTEs, even if _hardware_ A/D bits are disabled
When making a SPTE, set the Dirty bit in the SPTE as appropriate, even if
hardware A/D bits are disabled. Only EPT allows A/D bits to be disabled,
and for EPT, the bits are software-available (ignored by hardware) when
A/D bits are disabled, i.e. it is perfectly legal for KVM to use the Dirty
to track dirty pages in software.
Link: https://lore.kernel.org/r/20241011021051.1557902-17-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions