]> 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>
Wed, 22 May 2024 00:05:40 +0000 (17:05 -0700)
commitede19257863b031dccb450120007e3a0dcb0cbbe
tree6852af81f9716b42f99d23632fcc7eb8bf784ad3
parent2ebbb39e64301cce1e538f54ce7a33da4aea7590
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>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c