]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: x86: Kill cur_tsc_{nsec,offset,write} fields
authorDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 26 Apr 2024 17:24:10 +0000 (18:24 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 2 Aug 2024 14:51:48 +0000 (15:51 +0100)
commitef18244ee970ecd793a50fed9bebc2b28dd2a61b
tree9000f228ece7d260bb754a3214ff4ac27f11489d
parent150be5ea8c8ab18757db2950595cb67522dc7eaf
KVM: x86: Kill cur_tsc_{nsec,offset,write} fields

These pointlessly duplicate the last_tsc_{nsec,offset,write} values.

The only place they were used was where the TSC is stable and a new vCPU
is being synchronized to the previous setting, in which case the 'last_'
value is definitely identical.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c