summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHyunwoo Kim <imv4bel@gmail.com>2026-07-17 12:30:11 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2026-07-21 12:24:49 +0200
commit622ebfac01ba4f9c0060cebd41257fe46fc4a0b3 (patch)
treeaea145754df17d136b7bd15f19ac0f7581dd736c /tools/perf/scripts/python/stackcollapse.py
parentfce2dfa773ced15f27dd27cd0b482a7473cdcf2a (diff)
KVM: nVMX: Hide shadow VMCS right after VMCLEAR
free_nested() frees the shadow VMCS while vmcs01 still points to it. But because it is asynchronous with respect to loaded_vmcs_clear(), the vCPU might migrate before the pointer is cleared and __loaded_vmcs_clear() may then execute VMCLEAR. The VMCS needs to stay attached until its explicit VMCLEAR completes, but then it can be hidden and the page safely freed. Fixes: 355f4fb1405e ("kvm: nVMX: VMCLEAR an active shadow VMCS after last use") Cc: stable@vger.kernel.org Signed-off-by: Hyunwoo Kim <imv4bel@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions