diff options
author | Sean Christopherson <seanjc@google.com> | 2024-10-10 11:23:43 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-25 12:59:08 -0400 |
commit | 0cad68cab1135b60348a7b81814c8d2ff4b959ea (patch) | |
tree | 160a9fff30785aa7885553e6fdf96e243006008c /scripts/lib/kdoc/kdoc_files.py | |
parent | 7103853952957cad58f957142c72bf7a4644b7a9 (diff) |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions