diff options
| author | Dongli Zhang <[email protected]> | 2023-10-01 21:36:37 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2023-10-18 20:49:29 +0000 |
| commit | 2081a8450ef803e2e1136a80975eebc8682879b5 (patch) | |
| tree | 09a009f3f993d75842a4082f6c16ab3c5e004bfa /scripts/gdb/vmlinux-gdb.py | |
| parent | KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space (diff) | |
| download | kernel-2081a8450ef803e2e1136a80975eebc8682879b5.tar.gz kernel-2081a8450ef803e2e1136a80975eebc8682879b5.zip | |
KVM: x86: remove always-false condition in kvmclock_sync_fn
The 'kvmclock_periodic_sync' is a readonly param that cannot change after
bootup.
The kvm_arch_vcpu_postcreate() is not going to schedule the
kvmclock_sync_work if kvmclock_periodic_sync == false.
As a result, the "if (!kvmclock_periodic_sync)" can never be true if the
kvmclock_sync_work = kvmclock_sync_fn() is scheduled.
Link: https://lore.kernel.org/kvm/[email protected]
Signed-off-by: Dongli Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions
