diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-07-08 21:51:54 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-09 07:08:38 -0400 |
commit | 87fa7f3e98a1310ef1ac1900e7ee7f9610a038bc (patch) | |
tree | 379a0801cbf4a7494cbbe2e469ca71b110315193 /lib/sbitmap.c | |
parent | 841c2be09fe4f495fe5224952a419bd8c7e5b455 (diff) | |
download | linux-stable-87fa7f3e98a1310ef1ac1900e7ee7f9610a038bc.tar.gz linux-stable-87fa7f3e98a1310ef1ac1900e7ee7f9610a038bc.tar.bz2 linux-stable-87fa7f3e98a1310ef1ac1900e7ee7f9610a038bc.zip |
x86/kvm: Move context tracking where it belongs
Context tracking for KVM happens way too early in the vcpu_run()
code. Anything after guest_enter_irqoff() and before guest_exit_irqoff()
cannot use RCU and should also be not instrumented.
The current way of doing this covers way too much code. Move it closer to
the actual vmenter/exit code.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200708195321.724574345@linutronix.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions