]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:18:52 +0000 (13:18 +0200)
commite325dc7acbdb4140dc7268caac1fa437e86edc51
tree0ec677f2a84a6bc90eb6275f5c52d90cf888a491
parentf3ab9709b00ed389f870f6b20d323193bcf572c8
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