summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2024-04-22 23:01:40 +0300
committerMarc Zyngier <maz@kernel.org>2024-04-25 15:19:55 +0300
commitea54dd374232cc3b6d0ac0a89d715d61ebb04bf6 (patch)
treeda27fc03564121f8a37927d596f93b4ab0832ea9 /tools/perf/scripts/python/export-to-postgresql.py
parentfec50db7033ea478773b159e0e2efb135270e3b7 (diff)
downloadlinux-ea54dd374232cc3b6d0ac0a89d715d61ebb04bf6.tar.xz
KVM: Treat the device list as an rculist
A subsequent change to KVM/arm64 will necessitate walking the device list outside of the kvm->lock. Prepare by converting to an rculist. This has zero effect on the VM destruction path, as it is expected every reader is backed by a reference on the kvm struct. On the other hand, ensure a given device is completely destroyed before dropping the kvm->lock in the release() path, as certain devices expect to be a singleton (e.g. the vfio-kvm device). Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Sean Christopherson <seanjc@google.com> Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Reviewed-by: Sean Christopherson <seanjc@google.com> Link: https://lore.kernel.org/r/20240422200158.2606761-2-oliver.upton@linux.dev Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions