diff options
author | Sean Christopherson <[email protected]> | 2024-10-10 11:23:43 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2024-10-25 12:59:08 -0400 |
commit | 0cad68cab1135b60348a7b81814c8d2ff4b959ea (patch) | |
tree | 160a9fff30785aa7885553e6fdf96e243006008c /scripts/gdb/linux/stackdepot.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 <[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