diff options
| author | Fuad Tabba <fuad.tabba@linux.dev> | 2026-07-06 11:31:29 +0100 |
|---|---|---|
| committer | Oliver Upton <oupton@kernel.org> | 2026-07-13 17:10:26 -0700 |
| commit | 008ea7a6aa01877a2439bc911426c27a03a6d9e3 (patch) | |
| tree | ffad2e03f215aded39b7908179c1592313f4c3e1 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 9b36eda4dfe0bcd76233b3f1318b66478c1d0698 (diff) | |
KVM: arm64: Drop redundant READ_ONCE() in pkvm_hyp_vm_is_created()
is_created is written under config_lock. Every concurrent reader is
serialised against that write: pkvm_create_hyp_vm() under config_lock,
and the memslot path (kvm_arch_prepare_memory_region) via slots_lock,
which the creation writer also holds. The teardown-path accesses have no
concurrent writer. The read is therefore serialised, and the READ_ONCE()
is unnecessary.
Reviewed-by: Keir Fraser <keirf@google.com>
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20260706103129.706974-4-fuad.tabba@linux.dev
Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
