context_tracking: Move guest exit context tracking to separate helpers
authorWanpeng Li <wanpengli@tencent.com>
Wed, 5 May 2021 00:27:28 +0000 (17:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 May 2021 11:17:43 +0000 (13:17 +0200)
commit5ae5e3f05831b7629cd33be0a8591905f0898599
tree8559c7d44e4465e6d514a52796786fbde59de3f2
parent27acfd11ba179b746f55077edf9750f8f7cb1cb6
context_tracking: Move guest exit context tracking to separate helpers

commit 866a6dadbb027b2955a7ae00bab9705d382def12 upstream.

Provide separate context tracking helpers for guest exit, the standalone
helpers will be called separately by KVM x86 in later patches to fix
tick-based accounting.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Co-developed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210505002735.1684165-2-seanjc@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/context_tracking.h