diff options
| author | Zenghui Yu <zenghui.yu@linux.dev> | 2025-10-08 23:45:20 +0800 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2025-10-13 14:27:55 +0100 |
| commit | 2192d348c0aa0cc2e7249dc3709f21bfe0a0170c (patch) | |
| tree | 6644de984b0c02a714a5fe75477707bb1a0f0ab2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | KVM: arm64: Guard PMSCR_EL1 initialization with SPE presence check (diff) | |
| download | linux-2192d348c0aa0cc2e7249dc3709f21bfe0a0170c.tar.gz linux-2192d348c0aa0cc2e7249dc3709f21bfe0a0170c.zip | |
KVM: arm64: selftests: Allocate vcpus with correct size
vcpus array contains pointers to struct kvm_vcpu {}. It is way overkill
to allocate the array with (nr_cpus * sizeof(struct kvm_vcpu)). Fix the
allocation by using the correct size.
Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
