On Tue, 18 Apr 2023 13:57:37 +0100, Marc Zyngier wrote:
Per-vcpu flags are updated using a non-atomic RMW operation. Which means it is possible to get preempted between the read and write operations.
Another interesting thing to note is that preemption also updates flags, as we have some flag manipulation in both the load and put operations.
[...]
Applied to kvmarm/fixes, thanks!
[1/1] KVM: arm64: Make vcpu flag updates non-preemptible https://git.kernel.org/kvmarm/kvmarm/c/35dcb3ac663a
-- Best, Oliver