diff options
author | Sean Christopherson <[email protected]> | 2024-10-10 11:24:27 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2024-10-25 13:01:35 -0400 |
commit | 8b15c3764c05ed8766709711d2054d96349dee8e (patch) | |
tree | 2b28e7b160c28d374682ecf290d2a26796c05044 /scripts/gdb/linux/interrupts.py | |
parent | 93b7da404f5b0b02a4211bbb784889f001d27953 (diff) |
KVM: Don't grab reference on VM_MIXEDMAP pfns that have a "struct page"
Now that KVM no longer relies on an ugly heuristic to find its struct page
references, i.e. now that KVM can't get false positives on VM_MIXEDMAP
pfns, remove KVM's hack to elevate the refcount for pfns that happen to
have a valid struct page. In addition to removing a long-standing wart
in KVM, this allows KVM to map non-refcounted struct page memory into the
guest, e.g. for exposing GPU TTM buffers to KVM guests.
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/interrupts.py')
0 files changed, 0 insertions, 0 deletions