diff options
| author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-01 21:16:04 +0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-09-16 12:55:11 -0700 |
| commit | cbd860293d139fae44b76d821d8112aab89d8e17 (patch) | |
| tree | 30ea17dd36fef62eb95fc768b9952d8f3e3a3936 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 4319fa120f0f42be167d56d84ece94340e11d61e (diff) | |
KVM: x86: hyper-v: Use guard() instead of mutex_lock() to simplify code
Use guard(mutex) instead of mutex_lock/mutex_unlock pair to simplify the
error handling when setting up the TSC page for a Hyper-V guest.
No functional change intended.
Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Link: https://lore.kernel.org/r/20250901131604.646415-1-liaoyuanhong@vivo.com
[sean: tweak changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
