diff options
| author | Yosry Ahmed <yosry@kernel.org> | 2026-03-03 00:34:00 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-03-04 16:08:46 -0800 |
| commit | 290c8d82023ab0e1d2782d37136541e017174d7c (patch) | |
| tree | 66fb11c5b7c77fd71f65d709f4ce01b781c9e00e /tools/perf/scripts/python | |
| parent | 01ddcdc55e097ca38c28ae656711b8e6d1df71f8 (diff) | |
KVM: nSVM: Refactor checking LBRV enablement in vmcb12 into a helper
Refactor the vCPU cap and vmcb12 flag checks into a helper. The
unlikely() annotation is dropped, it's unlikely (huh) to make a
difference and the CPU will probably predict it better on its own.
CC: stable@vger.kernel.org
Co-developed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Yosry Ahmed <yosry@kernel.org>
Link: https://patch.msgid.link/20260303003421.2185681-7-yosry@kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
