diff options
author | 2024-10-10 11:23:59 -0700 | |
---|---|---|
committer | 2024-10-25 13:00:48 -0400 | |
commit | 9b3639bb02fb98a664110836147a03b45c83ed94 (patch) | |
tree | c161ecd80a7a8fc8925778a5512cbee29920ba67 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: arm64: Use __kvm_faultin_pfn() to handle memory aborts (diff) | |
download | wireguard-linux-9b3639bb02fb98a664110836147a03b45c83ed94.tar.xz wireguard-linux-9b3639bb02fb98a664110836147a03b45c83ed94.zip |
KVM: RISC-V: Mark "struct page" pfns dirty iff a stage-2 PTE is installed
Don't mark pages dirty if KVM bails from the page fault handler without
installing a stage-2 mapping, i.e. if the page is guaranteed to not be
written by the guest.
In addition to being a (very) minor fix, this paves the way for converting
RISC-V to use kvm_release_faultin_page().
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Acked-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20241010182427.1434605-58-seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions