Searched hist:"5 f4bd815ec718992c09de1f39479ae90dcbb7df3" (Results 1 – 1 of 1) sorted by relevance
/linux/arch/arm64/kvm/ |
H A D | arm.c | diff 5f4bd815ec718992c09de1f39479ae90dcbb7df3 Wed Sep 27 11:09:06 CEST 2023 Marc Zyngier <maz@kernel.org> KVM: arm64: Use vcpu_idx for invalidation tracking
While vcpu_id isn't necessarily a bad choice as an identifier for the currently running vcpu, it is provided by userspace, and there is close to no guarantee that it would be unique.
Switch it to vcpu_idx instead, for which we have much stronger guarantees.
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230927090911.3355209-7-maz@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
|