summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-06-11 01:57:07 +0300
committerSean Christopherson <seanjc@google.com>2025-06-20 23:05:39 +0300
commitfb96d5cf0fdaacd2165797982502d5b157f8bcf5 (patch)
tree9118c5ce797ea161af993c9fb73d76640c6bc7af /tools/perf/scripts/python/task-analyzer.py
parent674ffc65035119be0ea2664684d1e8d004409ae1 (diff)
downloadlinux-fb96d5cf0fdaacd2165797982502d5b157f8bcf5.tar.xz
KVM: SVM: Allocate IOPM pages after initial setup in svm_hardware_setup()
Allocate pages for the IOPM after initial setup has been completed in svm_hardware_setup(), so that sanity checks can be added in the setup flow without needing to free the IOPM pages. The IOPM is only referenced (via iopm_base) in init_vmcb() and svm_hardware_unsetup(), so there's no need to allocate it early on. No functional change intended (beyond the obvious ordering differences, e.g. if the allocation fails). Link: https://lore.kernel.org/r/20250610225737.156318-3-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions