aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2021-10-08 19:12:19 -0700
committerPaolo Bonzini <[email protected]>2021-12-08 04:24:56 -0500
commitcfb0e1306a3790eb055ebf7cdb7b0ee8a23e9b6e (patch)
treedfa6705d3a1ecddcf6072651370dbbfd127f5ba4 /tools/perf/scripts/python/bin/stackcollapse-record
parent89ef0f21cf96200dfa46cec92228ef435681589f (diff)
KVM: VMX: Read Posted Interrupt "control" exactly once per loop iteration
Use READ_ONCE() when loading the posted interrupt descriptor control field to ensure "old" and "new" have the same base value. If the compiler emits separate loads, and loads into "new" before "old", KVM could theoretically drop the ON bit if it were set between the loads. Fixes: 28b835d60fcc ("KVM: Update Posted-Interrupts Descriptor when vCPU is preempted") Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions