diff options
author | Sean Christopherson <[email protected]> | 2024-10-10 11:23:50 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2024-10-25 13:00:47 -0400 |
commit | 8eaa98004b23e02adb3e11120132e0e2fecc6e0e (patch) | |
tree | fcf386035a1ccd73364100c096cec61a5975da63 /scripts/gdb/linux/stackdepot.py | |
parent | 8dd861cc07e238c1474bb0903caf8cd3b5b5e2b4 (diff) |
KVM: x86/mmu: Don't mark unused faultin pages as accessed
When finishing guest page faults, don't mark pages as accessed if KVM
is resuming the guest _without_ installing a mapping, i.e. if the page
isn't being used. While it's possible that marking the page accessed
could avoid minor thrashing due to reclaiming a page that the guest is
about to access, it's far more likely that the gfn=>pfn mapping was
was invalidated, e.g. due a memslot change, or because the corresponding
VMA is being modified.
Tested-by: Alex Bennée <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Tested-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions