diff options
author | 2024-10-10 11:23:43 -0700 | |
---|---|---|
committer | 2024-10-25 12:59:08 -0400 | |
commit | 0cad68cab1135b60348a7b81814c8d2ff4b959ea (patch) | |
tree | 160a9fff30785aa7885553e6fdf96e243006008c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: x86/mmu: Add helper to "finish" handling a guest page fault (diff) | |
download | wireguard-linux-0cad68cab1135b60348a7b81814c8d2ff4b959ea.tar.xz wireguard-linux-0cad68cab1135b60348a7b81814c8d2ff4b959ea.zip |
KVM: x86/mmu: Mark pages/folios dirty at the origin of make_spte()
Move the marking of folios dirty from make_spte() out to its callers,
which have access to the _struct page_, not just the underlying pfn.
Once all architectures follow suit, this will allow removing KVM's ugly
hack where KVM elevates the refcount of VM_MIXEDMAP pfns that happen to
be struct page memory.
Tested-by: Alex Bennée <alex.bennee@linaro.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-42-seanjc@google.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions